all groups > dotnet xml > august 2005 >
You're in the

dotnet xml

group:

SOAP Envelope


SOAP Envelope Nikhil
8/15/2005 12:08:06 PM
dotnet xml:
I want to create a SOAP/XML payload, which is ent to a web-service using HTTP
POST. I was wondering if there is a better way to create a SOAP envelope than
concatinating strings which have the actual envelope text.

Thanks,
--
Re: SOAP Envelope intrader
8/15/2005 11:52:57 PM
[quoted text, click to view]
I have used a java solution, from which you may infer what you need:
http://developers.sun.com/sw/building/tech_articles/j2ee_soap_part2.html
Re: SOAP Envelope Nikhil
8/16/2005 6:39:03 AM
Do you have any .NET documentation for the same.
--
Nikhil Sarathi


[quoted text, click to view]
Re: SOAP Envelope richwangler
8/16/2005 8:14:02 AM
The easiest way to handle this is to acquire the WSDL files from the
webservice you are going to call. You then can use the .NET tools
WSDL.exe to create proxy classes to interface with the webservice. It
will handle creating the SOAP envelope for you.

If you do not want to use the proxy classes for whatever reason. You
should create serializable classes and use the XMLSerializer and/or
SOAPFormatter classes to serialize/deserialize the data.

Avoid concatenating strings together to create XML.
AddThis Social Bookmark Button