how to get then soap XML

C

chelala_cu

HI. Can any body tell how to get the XML that should be sent to the web
service. I mean the xml with de envelop and all payload... So I can
send it by email to use a soap email binding tool.

I went to obtain the XML soap client request to use email and then.

Another possible question would be HOW to implement a new transport for
SOAP, so instead of using http I can use email or ftp. offcourse all
that using .NET framework

thanks

Harold
 
D

Dan Rogers

Hi Harold,

The easiest way to get a valid XML payload that would fit into a SOAP Body
is serialize from a class that represents your SOAP:Body payload into a
stream, file, etc. If you are starting with a schema, you can create the
class implementations with tools such as XSD.exe or even XsdObjectGen.exe,
and then at run-time fill out the data in your classes, and then serialize
to the XML.

As far as SOAP bindings for SMTP and other transports, this is planned on
being supported in the Indigo timeframe. Until then you will need to
implement your own Envelope constructs (simple enough) and serialize the
entire thing and bind it to the appropriate transport elements.

I searched for "SOAP over SMTP" on the web and found there are many others
trying to find the same asnwer. There are some free and commercial
products that implement some sort of SOAP over SMTP or email as well.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
 

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

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top