473,651 Members | 3,007 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SOAP envelop format control?

Hello,

I am new to webservice 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:Envelop e xmlns:soap="htt p://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 16 '07 #1
0 1173

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

Similar topics

2
3421
by: c | last post by:
We have an API that has an XML interface. We have a client who has a .NET application and wants to use our API. Why will SOAP make life easier for our client? It seems to me that .NET to XML should be easy enough, but they're saying they want SOAP interface. thanks. c
0
1623
by: chr | last post by:
Hi, I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the returned xml that there are entries in the containers the proxy-classes say it is empty. Has anybody an idea why this is so an how to solve this problem -- the returned xml-data looks like this <?xml version="1.0"...
1
1214
by: Champika Nirosh | last post by:
Hi all, I am just comparing webservice performance.. What really have in SOAP envelop?? Is it taking lots of space.. get me some data regarding this soap envelop
1
1577
by: s.a. makhdoomi | last post by:
I have an application developed in asp. I can't rewrite the application in .net right now, I want to send some SOAP requests through asp, Is it possible to send SOAP request and receive response.
1
2259
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, just as I would expect: What was sent: POST /helloworld/helloworld.asmx?op=HelloWorld HTTP/1.0 What was received:
0
1235
by: tshad | last post by:
I am trying to create a proxy and soap from a sample file and it won't create multiple dimensional arrays for some reason. I am getting the same results if "Line" is not a Multidimensional array. Why is "Line" not there? I have the following Class that I compile and put into my Bin directory as: vbc /t:library NewsItem.vb copy NewsItem.dll bin *************************************
1
2105
by: Peter van der veen | last post by:
Hi I have a problem in VB.net 2.0 We are using a third party webservice. I have loaded the wsdl file and can access the functions the service has. Now this party wants that we add a SOAP header element named 'Vendor' so that they can distinguis which vendor called the webservice.
0
953
by: neerajdeswal | last post by:
Testing Soap envelop (as Text File) in RPC Method Hi, I have created a web service based on a interface contract given by client. Now client wants to test it based on a given soap envelop as text file. But I am not able to execute this soap envelop.
2
2356
by: monsalvo | last post by:
What's so wrong with my code? This line is part of a VBScript soap client part of a DTS wich is functional in a 90 percent. strText = .responseXML.selectSingleNode("//" login "loginReturn") Produces the following error Char: 46 Error: Expeted )
0
8361
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8278
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8701
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7299
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6158
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.