Re: Auto generated sample with wsdl2java

2017-02-15 Thread jkoorts
Ignore, got it sorted. -- View this message in context: http://cxf.547215.n5.nabble.com/Auto-generated-sample-with-wsdl2java-tp5777292p5777322.html Sent from the cxf-user mailing list archive at Nabble.com.

Problem calling WCF MS service with security

2017-02-15 Thread Morein, Arnie
I have to consume a web service that was written in .Net and requires the security policies listed below. We develop in Java to a WAR. I created a separate project for the WSDL's Java stubs using Maven's cxf-codegen-plugin (3.1.10). It was added to the main WAR project and compiles fine. But

Re: Attachments for Dispatch not supported?

2017-02-15 Thread Jaiyasree
I am trying to send attachments from client to server. I tried setting in both the ways Message.Attachments and MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS. Both are not working. It throws Attachment of type class are not supported in SwAOutInterceptor itself. Is there any way I can solve this

Re: Attachments for Dispatch not supported?

2017-02-15 Thread Jaiyasree
I am not able to instantiate WrappedAttachments even after including frontend-jaxws jar in my project -- View this message in context: http://cxf.547215.n5.nabble.com/Attachments-for-Dispatch-not-supported-tp5729017p5777315.html Sent from the cxf-user mailing list archive at Nabble.com.

Auto generated sample with wsdl2java

2017-02-15 Thread jkoorts
So with the switch -all I get a sample Client and sample Server file. The format of the sample does not use JaxWsProxyFactoryBean but a more "wrapped" approach. 1. Why? 2. How can I get an auto generated sample using JaxWsProxyFactoryBean which gives me finer control. 3. Is the difference