Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Please help with constructing SOAP ENVELOPE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kaush - 11 Oct 2005 01:14 GMT
I am using WSE to send SOAP messages. I am very new to SOAP
Actually I have a sample SOAP message from my client with envelope element,
header and a big body. I am not sure how to construct an envelope using the
SOAPENVELOPE class.

Since I have this one sample message from my client which I want to send it
across and test, I am just copying the header part and populating
"envelope.Header.InnerText" and copying the body part and populating the
"envelope.SetBodyObject()" method. I tried many other ways with other
methods. This seems not to be working.
Could someone please help me in constructing the SOAPENVELOPE ? Is there any
way to load the sample SOAP message I have into a SOAPENVELOPE object?

Please help me out. I am not able to find proper documentation for the
SOAPENVELOPE methods or properties. Any links would really help.

Thanks,
kaush
Pablo Cibraro - 14 Oct 2005 16:38 GMT
Hi Kaush,
You can use the "SoapEnvelope.Load" method to load the entire Soap envelope.
This metod support overloads for different data streams such string,
XmlReader, etc.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

>I am using WSE to send SOAP messages. I am very new to SOAP
> Actually I have a sample SOAP message from my client with envelope
[quoted text clipped - 18 lines]
> Thanks,
> kaush
Kaush - 14 Oct 2005 18:05 GMT
Hi Pablo,

            That was cool. You kind of made my day :). Somehow I missed out
on this method. Thanks a lot; I could successfully send the SOAP message
across.

Thanks again :)
kaush

> Hi Kaush,
> You can use the "SoapEnvelope.Load" method to load the entire Soap envelope.
[quoted text clipped - 27 lines]
> > Thanks,
> > kaush

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.