Re: Timeout and CXF

2013-09-21 Thread Jason Pell
Since its all just XML the shortest answer is yes even if you have to hand code it :-) However any web service framework worth using should have WS security support. Just a matter of reading the docs for your chosen frameworks. Nothing Cxf is doing on server side would preclude that. But as we

Re: basic authentication in cxf webservice client

2013-09-21 Thread ash
How do I setup digest auth type to webservice client using cxf?

RE: How to access fields in org.apache.cxf.transport.Session?

2013-09-21 Thread Andrei Shakirin
Hi, Take a look at https://svn.apache.org/repos/asf/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http/GreeterSessionImpl.java It gets HTTPSession name attribute: String name = (String)session.getAttribute("name"); Regards, Andrei. > -Original Message- > From: Fri

RE: How to handle exceptions from a SOAP webservice in a single point

2013-09-21 Thread Andrei Shakirin
Hi, You can just set it back to the exchange: message.getExchange().set(Exception.class, soapFaultException); Your interceptor should be registered somewhere on beginning of the outbound chain, before exception will be marshalled to SOAP fault. Regards, Andrei. > -Original Message- >

Re: Getting Java user-defined object in C using CXF

2013-09-21 Thread Faz
Thanks you Benson, does gsoap has security specifications? I mean, we have CXF service with security settings which authenticates the Client. so does gsoap has that capability in store? -- View this message in context: http://cxf.547215.n5.nabble.com/Getting-Java-user-defined-object-in-C-using

Re: Getting Java user-defined object in C using CXF

2013-09-21 Thread Benson Margulies
CXF has no C bindings. Consider gsoap, for example, as a C binding for SOAP. It will map wsdl to C. On Sat, Sep 21, 2013 at 10:51 AM, Faz wrote: > Thanks Tim. > Actually we need to use SOAP webservices which I believe doesn't support > JSON and hence we will have to get on with the XML data. > >

Re: Timeout and CXF

2013-09-21 Thread Faz
Thanks Jason for the nice response. Have one more query, well like you said the cxf jaxws server produces a standard soap web service that we can use any standards compliant soap web services framework for client. But, i have implemented WS-securitry policy along with CXF service that expects usern

Re: WS-Security : UsernameToken(Password Digest) + Sign/Encrypt Messages

2013-09-21 Thread Faz
Thanks Colm, Just a quick query, Is it good to expose the WSDL along with policy? I have an WSDL created which explicitly says what all WS-Security policies and specifications I have used , having that said is it a threat(security-wise) to expose them to the consumer? If it is a threat, what would

Re: Getting Java user-defined object in C using CXF

2013-09-21 Thread Faz
Thanks Tim. Actually we need to use SOAP webservices which I believe doesn't support JSON and hence we will have to get on with the XML data. CXF experts, please shed some light on this if my above question be addressed using CXF using C program. -- View this message in context: http://cxf.547