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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939182#3939182

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939182


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to