My gsoap-based WebService sends a response that looks in general like
follows:
<SOAP-ENV:Envelope ..... >
<SOAP-ENV:Header>
....
</SOAP-Header>
<SOAP-ENV:Body>
<responseNameSpace:rootElementOfResponse>
<responseNameSpace:firstChild>
....
</responseNameSpace:firstChild>
<responseNameSpace:secondChild>
....
</responseNameSpace:secondChild>
</responseNameSpace:rootElementOfResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
How can I let it send the response in the following format,
so that not each individual element in the 'payload' needs a namespace ?
<SOAP-ENV:Envelope ..... >
<SOAP-ENV:Header>
....
</SOAP-Header>
<SOAP-ENV:Body>
<rootElementOfResponse xmlns="http://blah.org/"
xsi:schemaLocation="http://blah.org
http://www.blah.org/blah.xsd">
<firstChild>
......
</firstChild>
<secondChild>
......
</secondChild>
</rootElementOfResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Thanks,
Katy