[jboss-user] [JBoss Web Services] - Re: createDispatch with WS-Address
Jim Ma
do-not-reply at jboss.com
Thu Dec 16 04:36:52 EST 2010
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&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101216/ca1421e0/attachment.html
More information about the jboss-user
mailing list