473,394 Members | 1,813 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,394 software developers and data experts.

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:encodingStyle="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:string">ccc</UserName>
<Password xsi:type="xsd:string">!Bbtmf</Password>
<usernid xsi:type="xsd:string">bag</usernid>
<userAttribute xsi:type="xsd:string">TELEPHONENUMBER</userAttribute>
<userValue xsi:type="xsd:string"/>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 1193


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.gotdotnet.com/quickstart/aspplus/doc/webservicesintro.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
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...
2
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...
2
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...
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...
6
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...
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
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: 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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.