You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Thomas Förster <T....@lit.lineas.de> on 2001/04/04 10:21:49 UTC

SOAPException during Call.invoke

Hi!

I found a great SOAP-tutorial at IBM's developerworks at

http://www-106.ibm.com/developerworks/library/ws-peer2/

and tried it. The server-side seems to be quite ok (however, installing
the server
and deploying the SOAP-service works). 
But on the client-side I'm having problems with a SOAPException, which
is thrown while making
a SOAP method-call (Call.invoke):

SOAPException= SOAP-ENV:Client, A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a: 'faultcode' element.
[SOAPException: faultCode=SOAP-ENV:Client; msg=A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a: 'faultcode' element.;
targetException=java.lang.IllegalArgumentException: A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a: 'faultcode' element.]
	at org.apache.soap.rpc.Call.invoke(Call.java:244)
	at soaptest.SOAPClient.main(SOAPClient.java:39)
TARGET-EXCEPTION:
java.lang.IllegalArgumentException: A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a: 'faultcode' element.
	at org.apache.soap.Fault.unmarshall(Fault.java:331)
	at org.apache.soap.rpc.RPCMessage.unmarshall(RPCMessage.java:364)
	at
org.apache.soap.rpc.RPCMessage.extractFromEnvelope(RPCMessage.java:197)
	at org.apache.soap.rpc.Response.extractFromEnvelope(Response.java:142)
	at org.apache.soap.rpc.Call.invoke(Call.java:231)
	at soaptest.SOAPClient.main(SOAPClient.java:39)

What's wrong? I suppose that one of the java-libraries I use is out of
date and creates invalid XML-responses. I'm using:

tomcat 3.2.1
xerces 1.3.1
soap 2.1
jdk 1.3

It would be great, if somebody can help me. Sorry, if this question has
been asked recently, but
I didn't find an up-to-date archive of this ML.

cu

Thomas

-- 
----------------------------------------------------------
 Dipl.-Inform. Thomas Förster
 mailto:T.Foerster@lit.lineas.de

 LINEAS Informationstechnik GmbH
 Obergstraße 4              38102 Braunschweig, Germany
 Tel: +49 531 28150-0       Fax: +49 531 28150-150
 http://www.lineas.de       mailto:info@lit.lineas.de
----------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: SOAPException during Call.invoke

Posted by "N.V.Sairam" <sa...@bs.nes.nec.co.jp>.
Pls try with Xerces 1.3.0

thx,

\----- Original Message -----
From: Thomas Förster <T....@lit.lineas.de>
To: <so...@xml.apache.org>
Sent: Wednesday, April 04, 2001 5:21 PM
Subject: SOAPException during Call.invoke


>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: SOAPException during Call.invoke

Posted by "N.V.Sairam" <sa...@bs.nes.nec.co.jp>.
Pls try with Xerces 1.3.0

thx,

\----- Original Message -----
From: Thomas Förster <T....@lit.lineas.de>
To: <so...@xml.apache.org>
Sent: Wednesday, April 04, 2001 5:21 PM
Subject: SOAPException during Call.invoke


>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org