I make a call to a SOAP service using the
Call.invoke() method. The client runs within a servlet
in Tomcat. This works fine if I add the SOAP 2.1 jar
file to the classpath, however, if I use the SOAP 2.2
jar file, I get the following exception stack trace
(just an extract):

java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
        at
java.lang.StringBuffer.charAt(StringBuffer.java:289)
        at
org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:288)
        at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:282)
        at
org.apache.soap.rpc.Call.invoke(Call.java:205)

Has anyone seen this before? Any way to fix it?

Thanks in advance,
Andre Tost

=====
Andre Tost
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Reply via email to