1 Reply Latest reply on Jul 18, 2008 10:20 AM by Lucas Tiritilli

    webservice runtest error

    Lucas Tiritilli Newbie

      Hi! I finally could deploy the quickstart_webservice_producer in my server. Now, when I run ant runtest the server console prints the following error:

      saygoodbye_over_http:
       [echo] Invoking a JBossWS Endpoint over HTTP (via JBoss ESB).
       [java] Calling JBoss Remoting Listener using locator URI: http://localhost:
      8765
       [java] Exception in thread "main" org.jboss.remoting.transport.http.WebServ
      erError: Error received when calling on web server. Error returned was 500
       [java] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpUR
      LConnection(HTTPClientInvoker.java:380)
       [java] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport
      (HTTPClientInvoker.java:135)
       [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemot
      eClientInvoker.java:122)
       [java] at org.jboss.remoting.Client.invoke(Client.java:1550)
       [java] at org.jboss.remoting.Client.invoke(Client.java:530)
       [java] at org.jboss.remoting.Client.invoke(Client.java:518)
       [java] at org.jboss.soa.esb.samples.quickstart.webserviceproducer.test.
      SendMessage.sendMessageToJBRListener(SendMessage.java:72)
       [java] at org.jboss.soa.esb.samples.quickstart.webserviceproducer.test.
      SendMessage.main(SendMessage.java:113)


      BUILD FAILED

      thank you so much for all answers!
      regards,
      Atriano

        • 1. Re: webservice runtest error
          Lucas Tiritilli Newbie

          I'm sorry the code in my post was printed in the console where I executed "ant runtest"

          in the server console the error is as follows


          11:09:45,812 INFO [STDOUT] [Quickstart_webservice_producer] BEFORE invoking jbo
          ssws endpoint:
          11:09:45,812 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xml
          soap.org/soap/envelope/" xmlns:good="http://webservice_producer/goodbyeworld">
           <soapenv:Header/>
           <soapenv:Body>
           <good:sayGoodbye>
           <message>Goodbye!!</message>
           </good:sayGoodbye>
           </soapenv:Body>
          </soapenv:Envelope>].
          11:09:46,062 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
          java.lang.UnsupportedOperationException: setProperty must be overridden by all s
          ubclasses of SOAPMessage
           at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
           at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67
          )
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:201)
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:179)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
          dlerImpl.java:377)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:260)
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:133)
           at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
          ActionProcessingPipeline.java:265)
           at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(Messag
          eAwareListener.java:297)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
          utor.java:885)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
          .java:907)
           at java.lang.Thread.run(Thread.java:619)
          11:09:46,062 WARN [ActionProcessingPipeline] Unexpected exception caught while
          processing the action pipeline
          org.jboss.soa.esb.actions.ActionProcessingException: Cannot process SOAP request
          
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:138)
           at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
          ActionProcessingPipeline.java:265)
           at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(Messag
          eAwareListener.java:297)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
          utor.java:885)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
          .java:907)
           at java.lang.Thread.run(Thread.java:619)
          Caused by: org.jboss.ws.WSException: java.lang.UnsupportedOperationException: se
          tProperty must be overridden by all subclasses of SOAPMessage
           at org.jboss.ws.WSException.rethrow(WSException.java:68)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:298)
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:133)
           ... 5 more
          Caused by: java.lang.UnsupportedOperationException: setProperty must be overridd
          en by all subclasses of SOAPMessage
           at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
           at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67
          )
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:155)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultH
          elperJAXWS.java:232)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(
          SOAPFaultHelperJAXWS.java:161)
           at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessage
          FromException(SOAP11BindingJAXWS.java:104)
           at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBindin
          g.java:645)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
          dlerImpl.java:418)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:260)
           ... 6 more
          11:09:46,093 WARN [ActionProcessingPipeline] No fault address defined for fault
           message!
          11:09:47,625 INFO [STDOUT] [Quickstart_webservice_producer] BEFORE invoking jbo
          ssws endpoint:
          11:09:47,625 INFO [STDOUT] [<soapenv:Envelope xmlns:soapenv="http://schemas.xml
          soap.org/soap/envelope/" xmlns:good="http://webservice_producer/goodbyeworld">
           <soapenv:Header/>
           <soapenv:Body>
           <good:sayGoodbye>
           <message>Goodbye!!</message>
           </good:sayGoodbye>
           </soapenv:Body>
          </soapenv:Envelope>].
          11:09:47,625 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
          java.lang.UnsupportedOperationException: setProperty must be overridden by all s
          ubclasses of SOAPMessage
           at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
           at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67
          )
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:201)
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:179)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
          dlerImpl.java:377)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:260)
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:133)
           at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
          ActionProcessingPipeline.java:265)
           at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(Messag
          eAwareListener.java:297)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
          utor.java:885)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
          .java:907)
           at java.lang.Thread.run(Thread.java:619)
          11:09:47,625 WARN [ActionProcessingPipeline] Unexpected exception caught while
          processing the action pipeline
          org.jboss.soa.esb.actions.ActionProcessingException: Cannot process SOAP request
          
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:138)
           at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
          ActionProcessingPipeline.java:265)
           at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(Messag
          eAwareListener.java:297)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
          utor.java:885)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
          .java:907)
           at java.lang.Thread.run(Thread.java:619)
          Caused by: org.jboss.ws.WSException: java.lang.UnsupportedOperationException: se
          tProperty must be overridden by all subclasses of SOAPMessage
           at org.jboss.ws.WSException.rethrow(WSException.java:68)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:298)
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:133)
           ... 5 more
          Caused by: java.lang.UnsupportedOperationException: setProperty must be overridd
          en by all subclasses of SOAPMessage
           at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
           at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67
          )
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:155)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultH
          elperJAXWS.java:232)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(
          SOAPFaultHelperJAXWS.java:161)
           at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessage
          FromException(SOAP11BindingJAXWS.java:104)
           at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBindin
          g.java:645)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
          dlerImpl.java:418)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:260)
           ... 6 more
          11:09:47,812 ERROR [JBossRemotingGatewayListener] JBoss Remoting Gateway failed
          to synchronously deliver message to target service [MyServiceCategory:MyWSProduc
          erService].
          org.jboss.soa.esb.couriers.FaultMessageException: org.jboss.soa.esb.actions.Acti
          onProcessingException: Cannot process SOAP request
           at org.jboss.soa.esb.listeners.message.errors.Factory.createExceptionFro
          mFault(Factory.java:49)
           at org.jboss.internal.soa.esb.couriers.JmsCourier.pickup(JmsCourier.java
          :368)
           at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCo
          urierImpl.java:223)
           at org.jboss.internal.soa.esb.couriers.TwoWayCourierImpl.pickup(TwoWayCo
          urierImpl.java:205)
           at org.jboss.soa.esb.client.ServiceInvoker.attemptDelivery(ServiceInvoke
          r.java:342)
           at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:250)
          
           at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.ja
          va:159)
           at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.
          deliverSyncWithoutDecomposing(UncomposedMessageDeliveryAdapter.java:107)
           at org.jboss.soa.esb.listeners.message.UncomposedMessageDeliveryAdapter.
          deliverSync(UncomposedMessageDeliveryAdapter.java:86)
           at org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener.invo
          ke(JBossRemotingGatewayListener.java:303)
           at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
           at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvok
          er.java:310)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
          :844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
          ss(Http11Protocol.java:580)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
          7)
           at java.lang.Thread.run(Thread.java:619)
          Caused by: org.jboss.soa.esb.actions.ActionProcessingException: Cannot process S
          OAP request
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:138)
           at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
          ActionProcessingPipeline.java:265)
           at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(Messag
          eAwareListener.java:297)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
          utor.java:885)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
          .java:907)
           ... 1 more
          Caused by: org.jboss.ws.WSException: java.lang.UnsupportedOperationException: se
          tProperty must be overridden by all subclasses of SOAPMessage
           at org.jboss.ws.WSException.rethrow(WSException.java:68)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:298)
           at org.jboss.soa.esb.actions.soap.SOAPProcessor.process(SOAPProcessor.ja
          va:133)
           ... 5 more
          Caused by: java.lang.UnsupportedOperationException: setProperty must be overridd
          en by all subclasses of SOAPMessage
           at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
           at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67
          )
           at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor
          yImpl.java:155)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultH
          elperJAXWS.java:232)
           at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(
          SOAPFaultHelperJAXWS.java:161)
           at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessage
          FromException(SOAP11BindingJAXWS.java:104)
           at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBindin
          g.java:645)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
          dlerImpl.java:418)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHand
          lerImpl.java:260)
           ... 6 more
          11:09:47,875 ERROR [CoyoteInvoker] Error processing request
          java.io.NotSerializableException: org.jboss.internal.soa.esb.message.format.xml.
          BodyImpl
           at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
          
           at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
          :1509)
           at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14
          74)
           at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
          a:1392)
           at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
          
           at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
          :1509)
           at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14
          74)
           at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
          a:1392)
           at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
          
           at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
          :1509)
           at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14
          74)
           at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
          a:1392)
           at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
          
           at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
           at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.s
          endObjectVersion2_2(JavaSerializationManager.java:120)
           at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.s
          endObject(JavaSerializationManager.java:95)
           at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(
          SerializableMarshaller.java:120)
           at org.jboss.remoting.marshal.http.HTTPMarshaller.write(HTTPMarshaller.j
          ava:73)
           at org.jboss.remoting.transport.coyote.CoyoteInvoker.versionedWrite(Coyo
          teInvoker.java:429)
           at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvok
          er.java:377)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
          :844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
          ss(Http11Protocol.java:580)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
          7)
           at java.lang.Thread.run(Thread.java:619)
          

          thanks once more