473,405 Members | 2,262 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,405 software developers and data experts.

SOAP question

Hello,

I am new to webservices internals and I used the web service wizard to
generate the webservice class and appropriate objects.

After issueing a request, I noticed that the SOAP message goes like
the
following format (example):

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<read href="http://localhost/something/"
xmlns="http://test.org/ns/wsdl/1.0">
<str name="Switch" />
</read>
</soap:Body>
</soap:Envelope>

But, how can I have the request sent with the following format:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSche
ma-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<read href="http://localhost/something/">
<str name="Switch" xmlns="http://test.org/ns/schema/1.0"/>
</read>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Notice the difference between: <soap:Bodyand <SOAP-Env:Bodyfor
example.

Please advise.

--
Elias

May 18 '07 #1
2 2998

"lallous" <la*****@lgwm.orgwrote in message
news:11**********************@q23g2000hsg.googlegr oups.com...
Hello,

I am new to webservices internals and I used the web service wizard to
generate the webservice class and appropriate objects.

After issueing a request, I noticed that the SOAP message goes like
the
following format (example):

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<read href="http://localhost/something/"
xmlns="http://test.org/ns/wsdl/1.0">
<str name="Switch" />
</read>
</soap:Body>
</soap:Envelope>

But, how can I have the request sent with the following format:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSche
ma-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<read href="http://localhost/something/">
<str name="Switch" xmlns="http://test.org/ns/schema/1.0"/>
</read>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Notice the difference between: <soap:Bodyand <SOAP-Env:Bodyfor
example.

Please advise.
MS.Public.dotnet.webservices is where you can get some help, if no one
answers you questions here.

May 19 '07 #2
There is no difference here, as the prefixes both represent the same
namespace http://schemas.xmlsoap.org/soap/envelope/. What I would be more
concerned about is the fact that they are using the
http://www.w3.org/1999/XMLSchema and
http://www.w3.org/1999/XMLSchema-instance namespaces. You should see if
they will accept the new (not that new, six year old, really) namespaces, as
I think those were part of the recommendation, and not the ones that are in
use now (for SOAP 1.1).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"lallous" <la*****@lgwm.orgwrote in message
news:11**********************@q23g2000hsg.googlegr oups.com...
Hello,

I am new to webservices internals and I used the web service wizard to
generate the webservice class and appropriate objects.

After issueing a request, I noticed that the SOAP message goes like
the
following format (example):

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<read href="http://localhost/something/"
xmlns="http://test.org/ns/wsdl/1.0">
<str name="Switch" />
</read>
</soap:Body>
</soap:Envelope>

But, how can I have the request sent with the following format:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSche
ma-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<read href="http://localhost/something/">
<str name="Switch" xmlns="http://test.org/ns/schema/1.0"/>
</read>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Notice the difference between: <soap:Bodyand <SOAP-Env:Bodyfor
example.

Please advise.

--
Elias
May 19 '07 #3

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

Similar topics

6
by: Guest | last post by:
Hi, I unerstand that if you choose IIS to host your .Net Remotingcomponents with HTTP channel and SOAP formatter, you get thebuilt-in security and configuraion features of IIS. Also we canexpose it...
1
by: Dr. Frankenchurn | last post by:
I have a question regarding SOAP. A basic "Hello World" web service was written then requested from an IIS server via TELNET. When a malformed request was sent, a SOAP exception was returned,...
2
by: Paul Hale | last post by:
I have a vb.net web service and client that are both working fine. If someone wanted to consume our web service using .NET, no problem. Im a little confused on how non .NET clients would use the...
4
by: Christian Wilhelm | last post by:
Hi! I have a Problem understanding the deserialisation of SOAP-Responses. The "normal" way, calling a XML WebService is to use WSDL 1) Send Request 2) Get SOAP-Response 3) With Informations...
0
by: reezaali | last post by:
Hi All I have two problems.... 1. can you please tell me what the response should be from making this method call? <?xml version="1.0" encoding="utf-8"?> <soap:Envelope...
6
by: A.M-SG | last post by:
Hi, We are developing a SmartClient application and we are planning to expose business objects layer to SmartClient application by using ASP.NET SOAP web services.
31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
3
by: Enda Manni | last post by:
Hi, I have a gSoap Web Service written using C++, it uses SOAP username and password authentication. I also have a C# form client consuming the web service, all this was working fine until...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.