2 Replies Latest reply on Nov 11, 2006 3:46 PM by smilidon

    bug?! I can't run a webservice client, netbeans works...

    smilidon

      Hi,

      I get this error message:

      Exception in thread "main" java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
       javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
       at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
       at ws0607.client.Client.webServiceTest(Client.java:61)
       at ws0607.client.Client.main(Client.java:87)
      Caused by: javax.xml.soap.SOAPException: Could not transmit message
       at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204)
       at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
       ... 3 more
      Caused by: java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding.setXopMarshaller(Lorg/jboss/xb/binding/sunday/xop/XOPMarshaller;)V
       at org.jboss.ws.jaxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:145)
       at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:107)
       at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157)
       at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817)
       at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015)


      i dont know why jboss ide dont find this classes, because netbeans do!

      here

      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978333#3978333

      is said, that it could be the wrong version of jboss-xml-binding.jar, but i know i have the right version, because in netbeans it works. maybe eclipse has some other version in the classpath? but where? i use eclipse ide beta 2 bundle.

      regards

      s.

        • 1. Re: bug?! I can't run a webservice client, netbeans works...
          smilidon

          First thing is, that i dont understand why i have some jars in the classpath of my client that i dont added to my eclipse project.

          Second, i changed the order of some jars like jbossall-client, jbossws-client and jboss-xml-binding and now i get this error:


          Exception in thread "main" java.lang.NoSuchFieldError: fFeatures
           at org.jboss.xb.binding.parser.xni.XniJBossXBParser$ParserConfiguration.configurePipeline(XniJBossXBParser.java:459)
           at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
          


          I found some classes of this xml pharser in jboss-commons.jar of the eclipse plugin and that looks like the problem. i tried to remove that jar, but my client wont start anymore. why? why do i need for runing an application the jboss-common.jar? sorry it looks like that is something wrong there.

          still confused

          s.

          • 2. Re: bug?! I can't run a webservice client, netbeans works...
            smilidon

            by the way, i use jboss 4.0.4ga, jbossws 1.0.3, jsr 181 server part and a jsr 109 client.