3 Replies Latest reply on Apr 28, 2006 5:50 AM by Juergen Zimmermann

    EJB3 RC6: tutorial

    Juergen Zimmermann Master

      JBoss 4.0.4CR2 incl. EJB3 RC6
      PostgreSQL 8.1.3

      When running the tutorial "webservice" I get the appended stacktrace. Invoking the WSDL works fine: http://localhost:8080/tutorial/CalculatorBean?wsdl

      The stacktrace:
      [java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      [java] at $Proxy0.add(Unknown Source)
      [java] at org.jboss.tutorial.webservice.client.Client.main(Client.java:45)
      [java] Caused by: java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is:
      [java] javax.xml.soap.SOAPException: Could not transmit message
      [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:727)
      [java] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:405)
      [java] at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
      [java] ... 2 more
      [java] Caused by: javax.xml.soap.SOAPException: Could not transmit message
      [java] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:173)
      [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:697)
      [java] ... 4 more
      [java] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
      [java] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
      [java] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
      [java] at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
      [java] at org.jboss.remoting.Client.invoke(Client.java:525)
      [java] at org.jboss.remoting.Client.invoke(Client.java:488)
      [java] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:158)
      [java] ... 5 more
      [java] Caused by: java.lang.UnsupportedOperationException: getProperty must be overridden by all subclasses of SOAPMessage
      [java] at javax.xml.soap.SOAPMessage.getProperty(SOAPMessage.java:439)
      [java] at org.jboss.ws.soap.SOAPMessageImpl.isWriteXMLDeclaration(SOAPMessageImpl.java:306)
      [java] at org.jboss.ws.soap.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:262)
      [java] at org.jboss.ws.binding.soap.SOAPMessageMarshaller.write(SOAPMessageMarshaller.java:78)
      [java] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:164)
      [java] ... 10 more
      [java] Java Result: 1