Sending a SOAP response

S

Sinex

Hi,
Below is that actual SOAP message I want to send as a response. Is it
possible to hardcode this as a string and send it across? How do I do it?
What classes do I need to use?

<!--getVersion response-->
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns1:getVersionResponse xmlns:ns1="http://www.mycompany.com/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ns1:getVersionResponseType" resultSuccess="true">
<version>Employee DB Version 1.2</version>
</ns1:getVersionResponse>
</soapenv:Body>
</soapenv:Envelope>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top