On Monday 11 October 2010 8:24:18 am Andreas Veithen wrote:
> Probably you just found the answer to Daniel's question about why
> having a WSDL on the client side is mandatory...

Not really.    With "normal" JAX-WS API's, you can do something like:

Service service = Service.create(servName);
service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, 
                        "http://localhost:8080/foo";);
port = service.getPort(portName,  MyPort.class);

which works fine with CXF.

For the factory, it should just be:


clientFac.setBindingId(bindingId);

but I'm not sure if the full set of JAX-WS binding ID's works there.   Don't 
remember where we do the mapping.

Dan



> 
> Andreas
> 
> On Mon, Oct 11, 2010 at 13:59, Benson Margulies <[email protected]> 
wrote:
> > I read that @BindingType goes on the implementation, not the
> > interface. So how do I configure it on the client with a
> > JaxWsProxyFactoryBean?

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to