Click to See Complete Forum and Search --> : Advice on xml application


fogofogo
09-27-2007, 12:14 PM
Hello all,

I hope this is in the right place!

I've been asked to create a system that exchanges xml messages. A mobile device (client) sends xml to a website (web server) that will then send back a response. The xml will be sent as SOAP across http. The xml will also be stripped and stored in a database, for use on a website. We'll be using .net (c#)

So I'm just trying to figure out how I'm going to achieve this. From reading from differnet sources, and from doing numerous tutorials, I understand that using "web services" would be the best option for this, and I have been able to create a .wsdl page that can return the xml response.

But what I can get my head around, is how the xml is sent from the client to the server? Do I need to create some sort of listener page? Has anyone ever come across any good tutorials outlining how this might be done?

I appreciate any help

Thanks

Cstick
09-30-2007, 12:14 AM
Are you saying that you wrote a WSDL document by hand? It sounds like you're learning about web services from a very low level. That's great because you probably know more about how they really work. But you probably can't spend the rest of your days learning how a car is built piece by piece, metaphorically speaking. Microsoft makes web services dirt easy for you. If you are using Visual Studio, then it almost plug and play. Otherwise there are plenty of command line utilities and other software to get you by.

I suggest you start at MSDN's web services site. Here's a link to their Getting Started page for web services on MSDN, it has the code to make a hello world like web service, the listener as you called it.

http://msdn2.microsoft.com/en-us/webservices/aa740678.aspx

Good luck.