Re: CXF wsdl2java client security policy not working

2018-02-20 Thread Colm O hEigeartaigh
On Mon, Feb 19, 2018 at 4:42 PM, Ujjwal Gulecha wrote: > > *I am not quite sure if I understand that correctly. Is there some > documentation or example you could point me through? Thank You* > What I meant was you could use CXF to create a JAX-WS endpoint using the WSDL and some test credential

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Ujjwal Gulecha
Hi Colm, Thanks again for your time and reply! You could just create a fully-fledged CXF endpoint using the WSDL of the service and some test credentials? That would definately be easier than mocking the service endpoint, as WS-SecureConversation complicates things. *I am not quite sure if I under

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Colm O hEigeartaigh
You could just create a fully-fledged CXF endpoint using the WSDL of the service and some test credentials? That would definately be easier than mocking the service endpoint, as WS-SecureConversation complicates things. If you are getting an error in SecureConversationInInterceptor about a Securit

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Ujjwal Gulecha
Hi Colm, Thanks for replying. Yes, I had that but I guess I had other dependencies too which somehow caused this issue. I removed them all and then just added cxf-bundle and it worked. I had another question: Is there a way to test the cxf generated client while mocking a server? The issue with th

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Colm O hEigeartaigh
What CXF dependencies do you have on the classpath? Do you have "cxf-rt-frontend-jaxws" included? Colm. On Fri, Feb 16, 2018 at 7:37 PM, Ujjwal Gulecha wrote: > Hi everyone, > I am new to this group. I have used cxf to generate classes from a wsdl > which has some security policy. > > Here is t

CXF wsdl2java client security policy not working

2018-02-16 Thread Ujjwal Gulecha
Hi everyone, I am new to this group. I have used cxf to generate classes from a wsdl which has some security policy. Here is the link to the security policy part: https://gist.github.com/ujjwalgulecha/9edc9538ca4484997cd0bd4cfca93501 >From whatever I could gather from the internet and documentat