HighTechTalks DotNet Forums  

Sending a SOAP response

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Sending a SOAP response in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Sinex
 
Posts: n/a

Default Sending a SOAP response - 04-29-2007 , 05:04 AM






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>



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.