Re: OAuth2 Implementation

2014-07-14 Thread Sergey Beryozkin
Hi Jason, On 14/07/14 06:06, Jason Chaffee wrote: I am trying to use the AccessTokenVaidatorService, but I keep running into a problem of the UserPrincipal being null. @Path(validate) public class AccessTokenValidatorService extends AbstractAccessTokenValidator { @POST

Re: Accessing SecurityPolicy SupportingToken in STS TokenProvider

2014-07-14 Thread Colm O hEigeartaigh
You could do something similar to what the STS does in analysing WS-Security results: final ListWSHandlerResult handlerResults = CastUtils.cast((List?) messageContext.get(WSHandlerConstants.RECV_RESULTS)); if (handlerResults != null handlerResults.size() 0) {

Re: cxf transform feature for Declarative transform in camel route

2014-07-14 Thread Aki Yoshida
Hi Lowry, good to hear that the suggested workaround worked for you. Regarding your question of using WSDLs at the server side endpoint, the purpose of using a WSDL is to do the operation checking and some special handling based on the determined operation and also to provide a way for the

Re: Transient error from JAXRSInvoker after upgrading to jdk8

2014-07-14 Thread Mukarram Baig
Hello Sergey, In the interim, we made a local patch to skip binding bridge methods in org.apache.cxf.jaxrs.model.MethodDispatcher which seems to work fine for us. Pasting the patch for reference. Not sure if this is the right thing to do without breaking anything else. shell git diff diff --git

RE: web service with void method returning 202

2014-07-14 Thread sanjeevghimire
I do understand that for oneway 202 is the right response code to be sent. But Now I have removed the @oneWay annotation its no more one way right? but the web method has no return type. so my question is why is it still returning 202, and if it is because of the void method, how can we make

Re: web service with void method returning 202

2014-07-14 Thread sanjeevghimire
Yes, wsdl is being loaded. there is no such reference to one-way in the WSDL. Sanjeev -- View this message in context: http://cxf.547215.n5.nabble.com/web-service-with-void-method-returning-202-tp5746375p5746434.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: web service with void method returning 202

2014-07-14 Thread Daniel Kulp
On Jul 14, 2014, at 10:16 AM, sanjeevghimire gsanje...@gmail.com wrote: Yes, wsdl is being loaded. there is no such reference to one-way in the WSDL. If the operation has an input message but no output message, then, by definition, it’s a one-way operation. If you want a response other than

Re: web service with void method returning 202

2014-07-14 Thread sanjeevghimire
Thanks Daniel. WSDL doesn't have an output message. But is there a way to intercept this response and send 200, even though its against the policy. On the same note, I am also calling a external webservice but I have to use proxy settings and authorization. How do i do that using CXF? I am

Re: CXF NIO JAX-RS 2

2014-07-14 Thread Sergey Beryozkin
Hi, will this StackOverflow help: http://stackoverflow.com/questions/23711409/jetty-9-asyncresponse-not-working ? Let me know please Cheers, Sergey On 14/07/14 17:01, Michael Bannii wrote: Hi, This February there was a thread titled Server Side Asynchronous processing support via CXF NIO

Re: Disabling policies. Is it working in 2.7.11?

2014-07-14 Thread lveronese
Hi Andrei, I opened JIRA issue CXF-5878 for this problem. You will find an attached eclipse project that reproduces it. I generated the code with wsdl2java and only customized the class ECOSEntrySheetProcessingIn_ECOSEntrySheetProcessingIn_Client, which is the client of the service. You don't

Proxy error while calling Webservice through proxy auth

2014-07-14 Thread sanjeevghimire
I am calling a external webservice but I have to use proxy settings and authorization. How do i do that using CXF? I am configuring that in java using conduit but its not working. When I use the same set of credentials using the raw HTTP client it works but not through CXF conduit. here is the

Re: cxf transform feature for Declarative transform in camel route

2014-07-14 Thread Lowry
Thanks a lot. Using the generic provider (without WSDL) to disable the operation check on message sounds like our best way to utilize the CXF transform feature as a generic transformation mechanism within our camel routes. We'll give that a try. Thanks for your help! -- View this message in

Re: Supplying passwords for key manager and trust manager to http:conduit

2014-07-14 Thread Giriraj Bhojak
Thank you Andrei. I ended up using Spring EL to supply the password. But I have noticed that if the keystore and key passwords are different, I get Unrecoverable key exception. Is this some sort of bug with Merlin or am I missing something? Thanks, Giriraj. On Sat, Jul 12, 2014 at 11:15 AM,