[jboss-user] [JBossWS] - client missing wrappers
goldberg.howard
do-not-reply at jboss.com
Wed May 6 12:05:27 EDT 2009
jboss 5.01GA
Eclipse 3.4
I've exposed a web service on an ejb3 bean, which also exposes local and remote interfaces.
The bean deploys correctly, I can access the wsdl, and exercise the remote interface from a test client. However, the web service client gives the runtime modeler error below. It's a vanilla client, in an enterprise app client project. Can't figure out why the wrapper classes aren't being autogenerated, or what the problem is. Let me know if I can provide any additional information.
Client Code:
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
URL serviceUrl = new URL("http://localhost:8080/ecrs-droolsEAR-ecrs/ECRSImpl?wsdl");
Service ECRSService = Service.create(serviceUrl, new QName("http://goldberg.org/ecrs","ECRSWsService"));
ECRSWs ecrsWs = ECRSService.getPort(ECRSWs.class);
Exception:
com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.goldberg.jaxws.ExecuteRules is not found. Have you run APT to generate them?
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:287)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:596)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:543)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:371)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:633)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:328)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:311)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:339)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:343)
at javax.xml.ws.Service.getPort(Service.java:161)
at goldberg.org.test.TestECRSws.main(TestECRSws.java:86)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229101#4229101
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229101
More information about the jboss-user
mailing list