You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Christophe DENEUX <ch...@gmail.com> on 2014/12/11 11:00:43 UTC

XML binding with JaxWsDynamicClient

Hi all,

I'm trying to invoke with JaxWsDynamicClient a web-service requiring XML
binding instead of SOAP binding.

In the WSDL, binding and service are declared as:


On the client side, composed of following two lines:

I get the error:


Can you explain me how to invoke such a web-service with a dynamic client,
or how can I set the endpoint ?

Thanks for your help
Christophe




--
View this message in context: http://cxf.547215.n5.nabble.com/XML-binding-with-JaxWsDynamicClient-tp5752191.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: XML binding with JaxWsDynamicClient

Posted by Christophe DENEUX <ch...@gmail.com>.
Thanks Dan, that works fine.

Do you known why the endpoint auto selection is not available for non-soap
endpoints ?

Regards,
Christophe



--
View this message in context: http://cxf.547215.n5.nabble.com/XML-binding-with-JaxWsDynamicClient-tp5752191p5752402.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: XML binding with JaxWsDynamicClient

Posted by Daniel Kulp <dk...@apache.org>.
I think with non-soap endpoints, you have to use the createClient(String wsdlUrl, QName service, QName port)  method to fully specify the service/port.

Dan



> On Dec 11, 2014, at 5:00 AM, Christophe DENEUX <ch...@gmail.com> wrote:
> 
> Hi all,
> 
> I'm trying to invoke with JaxWsDynamicClient a web-service requiring XML
> binding instead of SOAP binding.
> 
> In the WSDL, binding and service are declared as:
> 
> 
> On the client side, composed of following two lines:
> 
> I get the error:
> 
> 
> Can you explain me how to invoke such a web-service with a dynamic client,
> or how can I set the endpoint ?
> 
> Thanks for your help
> Christophe
> 
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/XML-binding-with-JaxWsDynamicClient-tp5752191.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com