Jim Ma [
http://community.jboss.org/people/jim.ma] created the discussion
"Re: createDispatch with WS-Address"
To view the discussion, visit:
http://community.jboss.org/message/576335#576335
--------------------------------------------------------------
Hi Gary,
I suspect wsdl url is not retrieved when code is deployed in server. wsdlUrl result of
this line should be a VFS url when code deployed in server:
URL wsdlUrl=WSClient.class.getClassLoader().getResource("HelloWorldWS.wsdl");
It needs the JBossWSResourceResolver used to resolve the VFS file resource to add in cxf
bus.
If it is the cause, you can simply change this wsdl location to something like "
http://localhost:8080/foo/bar?wsdl http://localhost:8080/foo/bar?wsdl". Or add this
resolve in bus with :
bus.getExtension(ResourceManager.class).addResourceResolver(resourceResolver);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/576335#576335]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]