Hi Folks,
I'm still trying to get my first soap example to work.
I'm getting a new error message.
I looked at my classpath and noticed the first thing
in there was C:\Progra~1\JavaSoft\Jaxp1.0.1\jaxp.jar
and C:\Progra~1\JavaSoft\Jaxp1.0.1\parser.jar
Hmm... There was a similar problem with invoking the
wrong library with xerces with the installation of
tomcat so I removed these two from my class path.
Now when I run Service Manager Client I get a new
error message.
(Incidently, running Steeve's
org.apache.soap.util.net.TcpTunnel 7777 localhost 8080
does not affect the error message I get).
C:\apache_soap>java -cp
.;c:\apache_soap\xerces\xerces-1_4_0\xerces.jar;c:\apache_soap\jaf\jaf1_0_1\jaf-1.0.1\activation.jar;c:\apache_soap\java_mail\javamail-1_2\javamail-1.2\mail.jar;c:\apache_soap\soap-2_2\lib\soap.jar
org.apache.soap.server.ServiceManagerClient
http://localhost/soap/servlet/rpcrouter list
Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Client; msg=Errorparsing HTTP
status line "": java.util.NoSuchElementException;
targetException=java.lang.IllegalArgumentException:
Error parsing HTTP status line "":
java.util.NoSuchElementException]
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:324)
at
org.apache.soap.rpc.Call.invoke(Call.java:205)
at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClient.java:129)
at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:151)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:237)
C:\apache_soap>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/