473,795 Members | 2,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with Soap

Hi

I am new to SOAP infact I know nothing abt it. We have a web service
and Soap calls are made to it. I have the custom code to it but I don't
even know how to run it or how to make connection to it. What I did is
I saved the code as an XML file but when I open with IE it gives me
following error:

Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource

May be I am doing it all wrong. I searched for this but did not find
any solution.

Here is the code:

POST /ADMS/ads.asmx HTTP/1.1
Accept: text/xml
Accept: multipart/*
Host: xxx.xx.xx.com
User-Agent: SOAP::Lite/Perl/0.55
Content-Length: 736
Content-Type: text/xml; charset=utf-8
SOAPAction: http://xxx.com/ChangeData

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap .org/soap/encoding/"
SOAP-ENV:encodingSty le="http://schemas.xmlsoap .org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap .org/soap/envelope/"
xmlns:xsi="http ://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>
<ChangeData xmlns="http://xxx.com/">

<UserName xsi:type="xsd:s tring">ccc</UserName>
<Password xsi:type="xsd:s tring">!Bbtmf</Password>
<usernid xsi:type="xsd:s tring">bag</usernid>
<userAttribut e xsi:type="xsd:s tring">TELEPHON ENUMBER</userAttribute>
<userValue xsi:type="xsd:s tring"/>000-1478</userValue>

</ChangeData></SOAP-ENV:Body></SOAP-ENV:Envelope>
Also, to run SOAP do I need any SOAP software installed on it? Please
help me.

Thanks in advance

Feb 3 '06 #1
1 1207


star wrote:

I am new to SOAP infact I know nothing abt it. We have a web service
and Soap calls are made to it. Also, to run SOAP do I need any SOAP software installed on it?


You are asking in dotnet.xml so you should have the .NET framework and
that has all tools to create web services and consume them.
If you want to use .NET to consume a web service then use the wsdl.exe
tool read the WSDL decription of the web service and have it create a
proxy class. That way you do not deal with SOAP at all directly, rather
you create an instance of the web service proxy in your .NET code and
call its methods and get the results all with .NET types.
See
<http://samples.gotdotn et.com/quickstart/aspplus/doc/webservicesintr o.aspx>
for .NET 1.x and
<http://www.asp.net/quickstart/webservices/>
for .NET 2.0.

If you don't use the .NET framework then look for help in a more
appropriate group.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Feb 3 '06 #2

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

Similar topics

2
352
by: Stewart | last post by:
Hi, I'm hoping that someone will be able to help out with a problem we are having. We have a web service built in .Net 1.1. We are trying to call it from PHP4 using the NuSOAP add on. It seems the SOAP it is sending as the request isn't what the web service is looking for. Here is what my PHP4 NuSOAP client is sending: <?xml version="1.0" encoding="ISO-8859-1"?>
2
365
by: Stewart | last post by:
Hi, I'm hoping that someone will be able to help out with a problem we are having. We have a web service built in .Net 1.1. We are trying to call it from PHP4 using the NuSOAP add on. It seems the SOAP it is sending as the request isn't what the web service is looking for. Here is what my PHP4 NuSOAP client is sending: <?xml version="1.0" encoding="ISO-8859-1"?>
2
289
by: Stewart | last post by:
Hi, I'm hoping that someone will be able to help out with a problem we are having. We have a web service built in .Net 1.1. We are trying to call it from PHP4 using the NuSOAP add on. It seems the SOAP it is sending as the request isn't what the web service is looking for. Here is what my PHP4 NuSOAP client is sending: <?xml version="1.0" encoding="ISO-8859-1"?>
0
5608
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 SERVER================ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
6
23405
by: DavidPr | last post by:
I made a little picture gallery for my website. The images and thumbnails are stored on the server and the information in a database. I know how to delete the information from the databasem, but how would I include instructions in the php script to also remove the thumb and image from the server? <?php if($_GET=="delete") { $sql = "DELETE FROM $table WHERE id=$id"; // code to delete images from server $result =...
0
9522
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
10443
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9044
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
7543
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
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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
5565
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.