[jboss-user] [JBossWS] - Re: Specifying the server's URL in the client?
oskar.carlstedt
do-not-reply at jboss.com
Tue Feb 12 04:44:39 EST 2008
Hi!
You can always set the url in the service object when adding the port, like the following:
| Service service = Service.create(new QName("...", "..."));
| service.addPort(new QName("...", "..."), SOAPBinding.SOAP11HTTP_BINDING, "http://service.location/at/some/context");
| dispatch = service.createDispatch(new QName(...","..."), SOAPMessage.class, Service.Mode.MESSAGE);
|
Cheers
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128649#4128649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128649
More information about the jboss-user
mailing list