1 Reply Latest reply on May 7, 2009 12:33 AM by howard goldberg

    client missing wrappers

    howard goldberg Newbie

      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)

        • 1. Re: client missing wrappers
          howard goldberg Newbie

          Also getting a warning about not processing the deployment descriptor for the web context

          00:27:27,235 INFO [DefaultEndpointRegistry] register: jboss.ws:context=ecrs-droolsEAR-ecrs,endpoint=ECRSImpl
          00:27:27,375 INFO [WSDLFilePublisher] WSDL published to: file:/usr/local/jboss/jboss-5.0.1.GA/server/default/data/wsdl/ecrs-droolsEAR.ear/ecrs.jar/ECRSWsService42478.wsdl
          00:27:27,401 INFO [TomcatDeployment] deploy, ctxPath=/ecrs-droolsEAR-ecrs
          00:27:27,445 WARN [config] Unable to process deployment descriptor for context '/ecrs-droolsEAR-ecrs'

          Here's the implementation annotations:

          @WebService (portName="ECRSPort",
          targetNamespace="http://goldberg.org/ecrs",
          serviceName="ECRSWsService",
          endpointInterface="org.goldberg.ECRSWs")
          @Stateless
          public class ECRSImpl implements ECRSRemote, ECRSLocal, ECRSWs {

          Here is the interface:


          @WebService (targetNamespace="http://goldberg.org/ecrs")
          public interface ECRSWs {