-
1. Re: Exception client / User guide Echo sample
peterj Mar 7, 2007 5:01 PM (in response to valjjou)Which version of JBoss AS are you using? I assume you are using JBoss WS 1.2, and that you are using wsrunclient to run the client. Most likely, there is a missing jar from the classpath (I found that the wsdl4j.jar was missing, I'm using JBoss AS 5.0 beta 2 (or actually, the svn trunk from Monday). Anyway, the missing file is in jboss-saaj.jar, or at least that is where I found it.
-
2. Re: Exception client / User guide Echo sample
valjjou Mar 8, 2007 5:19 AM (in response to valjjou)Thanks Peter for your help.
I use JBoss 4.0.5 GA and WS 1.2.
I try with saaj.jar but i always have an exception, a soap exception:
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy15.echo(Unknown Source)
at echo.EchoClient.main(EchoClient.java:9)
Caused by: javax.xml.soap.SOAPException: Could not transmit message
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnection Impl.java:221)
at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:109)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:309)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:185)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:163)
at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:149)
... 2 more
This is only a part of the exception... I use wsrunclient...
Thanks for help. -
3. Re: Exception client / User guide Echo sample
peterj Mar 8, 2007 10:27 AM (in response to valjjou)That error I have not seen. Is the app server running?
-
4. Re: Exception client / User guide Echo sample
valjjou Mar 8, 2007 4:54 PM (in response to valjjou)I don't understand your point : i have only jboss running (eclipse 3.2 closed) and i always have this exception...
It seems to be a soap transmission message pb.
As for the syntax for the wsrunclient with jboss-saaj.jar
I only use wsrunclient echo.EchoClient because
when i try -classpath jboss-saaj.jar, i have a NoClassDefFoundError
(i have jboss-saaj.jar in my path) -
5. Re: Exception client / User guide Echo sample
heiko.braun Mar 9, 2007 5:56 AM (in response to valjjou)It's in
JBOSS_HOME/client/jboss-saaj.jar javax/xml/soap/FactoryLoader$PropertyAccessAction.class javax/xml/soap/FactoryLoader$PropertyFileAccessAction.class javax/xml/soap/FactoryLoader.class
Do you execute wsrunclient from the JBOSS_HOME/bin directory.
If not you'd need to export JBOSS_HOME.