[jboss-user] [JBoss Web Services] - Re: CXF client AS7 classloader
Julien Kronegg
do-not-reply at jboss.com
Sun Nov 20 12:14:57 EST 2011
Julien Kronegg [http://community.jboss.org/people/jkronegg] created the discussion
"Re: CXF client AS7 classloader"
To view the discussion, visit: http://community.jboss.org/message/637375#637375
--------------------------------------------------------------
I use the following workaround on JBoss AS 7.0.2:
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
Service service = Service.create(
new URL(WSDL_URL),
new QName("http://business.test/", "MyWSService")); // see name and targetNamespace on top of the WSDL
HelloBean hb = service.getPort(HelloBean.class); // Service Endpoint Interface generated by wsimport.exe
regards,
Julien
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/637375#637375]
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/20111120/66dde66d/attachment.html
More information about the jboss-user
mailing list