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 Ni...@i2.com on 2002/09/24 20:16:57 UTC

SOAP envelope fault code

I am trying to deploy a service using the following command

java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml


and am getting the following exception for every service that I am trying 
to deploy.

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; 
msg=A &apo
s;http://schemas.xmlsoap.org/soap/envelope/:Fault' element must 
contain a:
'faultcode' 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)

What happens when a service is trying to be deployed? What is the cause of 
this exception?

Thanks
Nirupama

Re: SOAP envelope fault code

Posted by Scott Nichol <sn...@scottnichol.com>.
This is probably something to do with your installation.  What version of
Apache SOAP are you using?  What servlet container are you using (e.g.
Tomcat)?  How did you install (e.g. are there instructions you followed)?
And, as always in these cases, what XML parser and version are you using
(e.g. Xerces 1.3.1)?

Scott Nichol

----- Original Message -----
From: <Ni...@i2.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 2:16 PM
Subject: SOAP envelope fault code


> I am trying to deploy a service using the following command
>
> java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
>
>
> and am getting the following exception for every service that I am trying
> to deploy.
>
> 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)
>
> What happens when a service is trying to be deployed? What is the cause of
> this exception?
>
> Thanks
> Nirupama
>


Re: SOAP envelope fault code

Posted by Scott Nichol <sn...@scottnichol.com>.
This is probably something to do with your installation.  What version of
Apache SOAP are you using?  What servlet container are you using (e.g.
Tomcat)?  How did you install (e.g. are there instructions you followed)?
And, as always in these cases, what XML parser and version are you using
(e.g. Xerces 1.3.1)?

Scott Nichol

----- Original Message -----
From: <Ni...@i2.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 2:16 PM
Subject: SOAP envelope fault code


> I am trying to deploy a service using the following command
>
> java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
>
>
> and am getting the following exception for every service that I am trying
> to deploy.
>
> 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)
>
> What happens when a service is trying to be deployed? What is the cause of
> this exception?
>
> Thanks
> Nirupama
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>