On Wednesday, November 23, 2011 4:29:13 PM Harry van Rijn wrote:
> Hi,
> 
> I have generated java classes from a wsdl.
> 
> Now I want to set up a webservice client using these classes,
> without using file://file?wsdl or http://endpoint?url.
> 
> The only thing I want to use is:
> http://localhost:8080/war-filename/web.xml-mapping/jaxws-address
> 
> Is this possible?

Yes.

2 options:

1) You can pass "null" in as the WSDL location to the generated service class.  
 
You would then need to call service.createPort(...) to setup the port with the 
right binding and address and such and then call the appropriate getPort(..) 
call.

2) Use the JaxwsProxyFactoryBean and set the address and such on there.  


-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to