Click here to Skip to main content
15,885,693 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear friends,
I am using VS 2008,asp.net,xml. How to get(read) the XML data send to a web service.

How can we implement this?

Thanks in advance
George
Posted

You need to learn Basics of Web Services and How it interacts with the Client[^].

Then you can easily use it in your project. Refer the links below for few articles which describes the use of it.
ASP.NET Web Service[^]
Creating the Web Sevice[^]
MSDN : Web Services with ASP.NET[^]
Web Services Example[^]

Calling a web service[from MSDN[^]]:

Calling a Web service method from script is asynchronous. To get a return value or to determine when the request has returned, you must provide a succeeded callback function. The callback function is invoked when the request has finished successfully, and it contains the return value (if any) from the Web method call. You can also provide a failed callback function to handle errors. Additionally, you can pass user context information to use in the callback functions.

MSDN : Calling Web Services from Client Script[^]
Calling Web Service using ASP.NET[^]
Calling Web Services from Client Script in ASP.NET AJAX[^]

--Amy
 
Share this answer
 
v2
Hi george,

What kind of answer would you expect? You didn't show any code or asked any specific question.

So if I understand right:
Problem one: Read Data from XML - the .NET Support for XML is so good, it's hard to "guess" what could be your problem with that. So any questions regarding to XML?

Problem two:
Send data to a "web Service". But you didn't tell "how" or what kind of service. REST, XHTML, WCF, could be anything, again the Topic is too broad to guess what you don't get about it.

In General this two topics are so common, I don't see a reason for such an unspecific question - if you really know nothing (I can't believe but who knows) ask the Internet or a book first...

But I have to say if a customer comes to me, only saying "I have a Service like this and you should send me XML data like that.) I would allready have more "material" to aks questions- a Service description, an XML-Schema or something - you see?

Kind regards Johannes
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900