You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Golding, Martin" <ma...@xrce.xerox.com> on 2000/09/05 15:56:50 UTC

Installation of Apache SOAP -2-0

hi soap-dev's and soap-user's

I am trying to set-up Apache SOAP-2-0 on a Sun Java WebServer. I have
removed all other XML parsers and only using xerces-1_1_2. Using the
soap-2-0\samples\stockquote example I get the error message below. I can
understand what the error is but I cannot see what I can do about it.

Class Path -
c:\soap-2_0\lib\soap.jar;c:\xerces-1_1_2\xerces.jar;.;c:\Kawa4.1\kawaclasses
.zip;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\i18n
.jar;C:\soap-2_0
[SOAPException: faultCode=SOAP-ENV:Client; msg=Root element of a SOAP
message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.;
targetException=java.lang.IllegalArgumentException: Root element of a SOAP
message must be: 'http://schemas.xmlsoap.org/soap/envelope/:Envelope'.]
at org.apache.soap.rpc.Call.invoke(Call.java:181) 	at
samples.stockquote.GetQuote.main(GetQuote.java:94)


I am guessing some incompatibility between the XML/SOAP construction and RPC
calling. (I have tried xerces-1-2 as well)

I am thinking of taking SOAP back to soap-bin-1.2 but would like to know
what I am doing wrong.

Any help ? (I tried to get to bug report database but that's down at the
moment so please be gentle if this is an obvious problem)

thanks
martin