473,388 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

SOAP Envelope

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,
--
Nikhil Sarathi
Nov 12 '05 #1
3 1599
On Mon, 15 Aug 2005 12:08:06 -0700, Nikhil wrote:
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,

I have used a java solution, from which you may infer what you need:
http://developers.sun.com/sw/buildin...oap_part2.html

Nov 12 '05 #2
Do you have any .NET documentation for the same.
--
Nikhil Sarathi
"intrader" wrote:
On Mon, 15 Aug 2005 12:08:06 -0700, Nikhil wrote:
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,

I have used a java solution, from which you may infer what you need:
http://developers.sun.com/sw/buildin...oap_part2.html

Nov 12 '05 #3
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.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Russell | last post by:
Using Python 2.3 and ZSI 1.2 I am having problems getting information back from a test web service running on a PC on our LAN. The SOAP request details (from the .asmxfile) are as follows: ...
2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
0
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.