0 Replies Latest reply on Nov 17, 2011 11:40 AM by psychok7

    Consuming Web Service running on Glassfish from JbossESB client

    psychok7 Newbie

      hi there, i am trying to consume a Web Service that i created in netbeans and deployed to Glassfish from a client app deployed to jbossesb-server-4.10.

       

      i get this error, anyone know why? (i have seen related errors but they are all different cases)

       

      trace:

       

       

      ***********************

      Create Web Service Client...

      DEBUG [main] (JAXWSClientMetaDataBuilder.java:77) - START buildMetaData: [service={http://calculator.me.org/}CalculatorWS]

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel

                at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:82)

                at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:140)

                at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:64)

                at javax.xml.ws.Service.<init>(Service.java:56)

                at org.me.calculator.CalculatorWS_Service.<init>(CalculatorWS_Service.java:40)

                at org.me.calculator.clientsample.ClientSample.main(ClientSample.java:10)

      Caused by: java.lang.ClassNotFoundException: org.apache.xerces.xs.XSModel

                at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

                ... 6 more

       

      i added the wsdl and the client.java in the attachment