JBoss Community

Re: CXF client AS7 classloader

created by Julien Kronegg in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community