webservice(first step)

  • Thread starter Thread starter guaro555
  • Start date Start date
G

guaro555

Hi gurus.

I need your help on the following.

I need to send a xml request to a server(I guess on what I have read,
its a web service) and I need to get the request back on the same
format.

I need the first step in order to get this done. I would like to
create a VB.net application that will send the request (xml format)
and get and process the xml the back request into our sql
environment.

Thanks a bunch gurus.
 
You may be making it harder than is necessary.

In your VB project, you should just add a new webservice refrence by right
clicking the project and selecting "Add Service Reference". You should know
the name of the service. It will be something like
http://terraserver-usa.com/LandmarkService.asmx, which is one I use a lot.
The webservice will be added with a namespace which defaults to
ServiceReference1. Now you can use classes as if the library was on your
machine. When you call methods in the service, the xml serialization
happens behind the seens. There is practically no need to ever see the XML.
 
You may be making it harder than is necessary.

In your VB project, you should just add a new webservice refrence by right
clicking the project and selecting "Add Service Reference".  You shouldknow
the name of the service.  It will be something likehttp://terraserver-usa.com/LandmarkService.asmx, which is one I use a lot.
The webservice will be added with a namespace which defaults to
ServiceReference1.  Now you can use classes as if the library was on your
machine.  When you call methods in the service, the xml serialization
happens behind the seens.  There is practically no need to ever see theXML.










- Show quoted text -

FTM

Thanks a bunch for your help on this.- I am using vs 2003, do you have
a link in which explain like step-by-step the process of been a
client consuming webservice but getting the xml string I need and
work on when I get it.

Thanks for battling with me here, thanks a bunch
 
Back
Top