Re: client send null data to web service

2009-11-30 Thread Saiful Haqqi
hi Dan thank's for replay, I just download new Apache CXF 2.2.5 use all jar file from library. But get Error in jaxb-impl.2.1.2 so I'm replay that jar file with jaxb-impl-2.0.1.jar. That working now, thank's alot Dan dkulp wrote: > > On Mon November 30 2009 10:11:43 pm Saiful Haqqi wrote: >> h

SSL with mutual authentication for system and propagating username in same call

2009-11-30 Thread forda
Hi ! I am designing a security solution ordered from the Security architect for a customer i work for. The requirement is to use a two-way ssl handshake in order indentify/authenticate system access to webservices. Except the authentication of the system against CA Certificate, authorization map

Re: CXF REST Map as argument can it handle it?

2009-11-30 Thread vickatvuuch
Sergey, I just wonder if you had a chance to implement this in 2.2.5? Thanks, -Vitaly Sergey Beryozkin-2 wrote: > > You can still do it even now, but it will require you to do some manual > coding. > You can register a ParameterHandler and then parse a query > string from within that handler

Re: client send null data to web service

2009-11-30 Thread Saiful Haqqi
this was weirdly, I'm try create method with return String Object, it's work find, but wen create method return or paramater MyPojo just empty instance :confused: where is my incorrect, please help -- View this message in context: http://old.nabble.com/client-send-null-data-to-web-service-tp26

Re: client send null data to web service

2009-11-30 Thread Daniel Kulp
On Mon November 30 2009 10:11:43 pm Saiful Haqqi wrote: > hi all, > > I'm using spring 2.5, CXF 2.0-incubator, java-1.6.0_17. I'm surprised this combination works AT ALL. 2.0-incubator is ancient and has known compatibility issues with spring 2.5 and java 6. I strongly suggest upgrading to

Re: client send null data to web service

2009-11-30 Thread Saiful Haqqi
on my web service, i try to trace object paramater value {sout} [SERVER] id send 1010 <--- this is from client, client already send id right this is my client code ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"demo/order/client/client-beans.xml"}); D

client send null data to web service

2009-11-30 Thread Saiful Haqqi
hi all, I'm using spring 2.5, CXF 2.0-incubator, java-1.6.0_17. this is my Pojo public class Debitur { private int id; private String name; private String message; // getter and setter } this is my interface on spring web service @WebService public interface OrderProcess { @We

RE: how to close inputStream before returning response

2009-11-30 Thread Sergey Beryozkin
Hi Thanks, this is one option, so registering an out interceptor at one of the stages which follows MARSHAL (POST_MARSHAL or MARSHAL_ENDING) should work. However, just returning an InputStream should result in it being closed after it's been copied to the output stream. BinaryDataProvider closes

Re: NPE caused by cxf-rt-ws-policy with WS-Addressing policy in WSDL

2009-11-30 Thread Alexandros Karypidis
Ok, I've been reading through the source code of CXF and found that the error seems to be related with the service mode and the SAAJ interceptor. This may be a bug, so if someone more knowledgable could help out in isolating, please read on (note that the references to CXF sources are from the

NPE caused by cxf-rt-ws-policy with WS-Addressing policy in WSDL

2009-11-30 Thread Alexandros Karypidis
Hi, I need some help with WS-Policy in CXF 2.2.4 I have been fighting to enable WS-Addressing using the WS-Addressing Metadata policy assertions. I attahed a policy in my WSDL with: xmlns:wsp='http://www.w3.org/ns/ws-policy'> xmlns:wsam='http://www.w3.org/2007/05/addressing/metadata'

Re: how to close inputStream before returning response

2009-11-30 Thread vickatvuuch
You can take a look at one of the out interceptors that handle the response. I would start somewhere around JAXRSOutInterceptor and go from there. Parimal Dhinoja wrote: > > Hi All, > > Following is my service method where I am reading file and feed it into > Response object. Even if I try to

how to close inputStream before returning response

2009-11-30 Thread Parimal Dhinoja
Hi All, Following is my service method where I am reading file and feed it into Response object. Even if I try to close my file streams in finally block, I didn't receive any file back in response. if I remove stream closing statements from finally block, I am getting my file in response body whe

RE: JMX - JAX-RS multiple service beans - only one is managed

2009-11-30 Thread Paul Wilton
I guess having per-Operation stats is much more useful and important than the separation of the root resources form the server end point. -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 30 November 2009 16:06 To: Paul Wilton; users@cxf.apache.org Subject: Re

Re: JMX - JAX-RS multiple service beans - only one is managed

2009-11-30 Thread Sergey Beryozkin
Hi Paul I'm not entirely sure yet that introducing a shared Operation interface is how CXF-2541 will be fixed, but unless other ideas emerge then we will proceed with the shared interface ...Either way CXF-2541 will need to be fixed for the next release (CXF 2.2.6) which will let users see stati

explicitQosEnabled + timeToLive problem

2009-11-30 Thread sergey_l
Hi guys, I have next problem; I create webservice endpoint soap over jms using jms config with explicitQosEnabled= true and timeToLive= 15000. When I send request from ui side to webservice ws works correctly but message is exired and put into DLQ queue and don't replied to client. If I set e

RE: JMS - JAX-RS multiple service beans - only one is managed

2009-11-30 Thread Paul Wilton
Hi Sergey Do you think any of the CXF-2541 enhancements will make it into the next version? Just trying to ascertain timescales - with view to either waiting for these enhancements, or coding enhanced JAX-RS, JMX monitoring into my app myself. Thanks Paul -Original Message- From: Sergey

Re: DOSGi - Dynamic Web Services (no service interface at compile time)

2009-11-30 Thread David Bosschaert
Hi Bernd, There are two ways in which you could do this with CXF-DOSGi. 1. With DOSGi you simply register your Java Object as an OSGi Service with the following Service Registration property: service.exported.interfaces=... As the value you provide the name or names of all the interfaces (or cl