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 "Prajapati, Jayesh" <ja...@certive.com> on 2000/12/08 00:20:29 UTC
GETTING ERROR WHILE RUNNING THE FOLLOWING PROGRAM USING SOAP
Hi all,
I am getting following error :
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><myrespo
nse id="ref-1"
s:root="1"><valid>0</valid></myresponse></s:Body></s:Envelope>
[SOAPException: faultCode=SOAP-ENV:Client; msg=Element name 'myresponse'
must end with 'Response'.;
targetException=java.lang.IllegalArgumentException: Element name
'myresponse' must end with
'Response'.]
at org.apache.soap.rpc.Call.invoke(Call.java:191)
at GetRuntimeInfo.main(GetRuntimeInfo.java:37)
at symantec.tools.debug.Agent.runMain(Native Method)
at symantec.tools.debug.MainThread.run(Agent.java:48)
The Response which i get back from the server is like follows:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><myrespo
nse id="ref-1"
s:root="1"><valid>0</valid></myresponse></s:Body></s:Envelope>
any help is highly appreciated.
Thankx,
Jayesh