You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Muthu Samuthira <ms...@skyva.com> on 2002/06/17 17:00:52 UTC

SOAPException

Hi,
     I am trying to test the HelloWorld example which comes under topic Clean up your wire protocol with SOAP, Part 2 
Below is the exception I am geting when I try to Deploy my xml. I have my DeploymentDescriptor.xml in D:\jakarta-tomcat-3.2.1\bin. If any body could tell me what the reason for the exception and howcan I get around it I greatly appreciate that 

Thanks
Muthu.

D:\jakarta-tomcat-3.2.1\bin>java org.apache.soap.server.ServiceManagerClient htt
p://localhost:8080/apache-soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A &apo
s;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must contain a:
&apos;faultcode&apos; element.; targetException=java.lang.IllegalArgumentExcepti
on: A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode' element.]
        at org.apache.soap.rpc.Call.invoke(Call.java:294)
        at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)


Re: SOAPException

Posted by Scott Nichol <sn...@scottnichol.com>.
This is a problem with your XML parser.  You must use a parser that supports
namespaces.

Scott Nichol

----- Original Message -----
From: "Muthu Samuthira" <ms...@skyva.com>
To: <so...@xml.apache.org>
Sent: Monday, June 17, 2002 11:00
Subject: SOAPException


Hi,
     I am trying to test the HelloWorld example which comes under topic
Clean up your wire protocol with SOAP, Part 2
Below is the exception I am geting when I try to Deploy my xml. I have my
DeploymentDescriptor.xml in D:\jakarta-tomcat-3.2.1\bin. If any body could
tell me what the reason for the exception and howcan I get around it I
greatly appreciate that

Thanks
Muthu.

D:\jakarta-tomcat-3.2.1\bin>java org.apache.soap.server.ServiceManagerClient
htt
p://localhost:8080/apache-soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A
&apo
s;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must contain
a:
&apos;faultcode&apos; element.;
targetException=java.lang.IllegalArgumentExcepti
on: A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
'faultcode' element.]
        at org.apache.soap.rpc.Call.invoke(Call.java:294)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)




Re: SOAPException

Posted by Scott Nichol <sn...@scottnichol.com>.
This is a problem with your XML parser.  You must use a parser that supports
namespaces.

Scott Nichol

----- Original Message -----
From: "Muthu Samuthira" <ms...@skyva.com>
To: <so...@xml.apache.org>
Sent: Monday, June 17, 2002 11:00
Subject: SOAPException


Hi,
     I am trying to test the HelloWorld example which comes under topic
Clean up your wire protocol with SOAP, Part 2
Below is the exception I am geting when I try to Deploy my xml. I have my
DeploymentDescriptor.xml in D:\jakarta-tomcat-3.2.1\bin. If any body could
tell me what the reason for the exception and howcan I get around it I
greatly appreciate that

Thanks
Muthu.

D:\jakarta-tomcat-3.2.1\bin>java org.apache.soap.server.ServiceManagerClient
htt
p://localhost:8080/apache-soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A
&apo
s;http://schemas.xmlsoap.org/soap/envelope/:Fault&apos; element must contain
a:
&apos;faultcode&apos; element.;
targetException=java.lang.IllegalArgumentExcepti
on: A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
'faultcode' element.]
        at org.apache.soap.rpc.Call.invoke(Call.java:294)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)