Hi,
I have got a requirement, where a client has to send a XML inside another xml tag to a web service.
For ex:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tut="http://tutorial.com">
<soapenv:Header/>
<soapenv:Body>
<tut:sayHello>
<tut:name>
<![CDATA[
<Details>
<FirstName>Harbeer</FirstName>
<LastName>Kadian</LastName>
<Details>
]]>
</tut:name>
</tut:sayHello>
</soapenv:Body>
</soapenv:Envelope>
The information inside CDATA will be used to create another
soap message. The server will create the another soap message and will use it to invoke another
web service which may exist on some other server.
The problem here is that the xsd for xml given in CDATA is not known to the client.
Now I need my server to pass this information to the client. The server has the required xsd for the xml inside CDATA.
The communication between client and server is through
java web service.
Please tell how we can pass this information to the client.
With Regards
Harbeer kadian