[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-devel] [ gforge-Bugs-472 ] [SOAP][GSoap]Problem with Soap Receiv
From: |
noreply |
Subject: |
[Gforge-devel] [ gforge-Bugs-472 ] [SOAP][GSoap]Problem with Soap Received : missing namespace on <helloResponse> |
Date: |
Sun, 03 Aug 2003 09:21:35 -0500 |
Bugs item #472, was opened at 2003-08-03 16:21
You can respond by visiting:
http://gforge.org/tracker/?func=detail&atid=105&aid=472&group_id=1
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: James Michael DuPont (mdupont)
Assigned to: Nobody (None)
Summary: [SOAP][GSoap]Problem with Soap Received : missing namespace on
<helloResponse>
Initial Comment:
Here is the response :
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:si="http://soapinterop.org/xsd"
xmlns:s0="http://cougaar.org"
xmlns:tns="http://cougaar.org">
<SOAP-ENV:Body>
<helloResponse>
<tns:soapVal xsi:type="xsd:string">test echoed back
to you</tns:soapVal>
</helloResponse>
</SOAP-ENV:Body></SOAP-ENV:Envelope>
Gsoap says :
SOAP FAULT: SOAP-ENV:Client
"Tag mismatch: element 'helloResponse' does not
correspond to expected element"
I think the problem is the helloResponse does not have
a namespace, and there is no default :
Either add "tns" to <helloResponse> to make
<tns:helloResponse>
or add a default namespace :
xmlns="http://cougaar.org">
mike
----------------------------------------------------------------------
You can respond by visiting:
http://gforge.org/tracker/?func=detail&atid=105&aid=472&group_id=1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-devel] [ gforge-Bugs-472 ] [SOAP][GSoap]Problem with Soap Received : missing namespace on <helloResponse>,
noreply <=