Using Soap

studio72

Member
Joined
Sep 26, 2010
Messages
6
Programming Experience
Beginner
Hello all,
I'm beginner in working with Soap to comunicate with one web service already instaled on the server.
I want to send a request to webService, the request is in XML format, something like this :

Dim RequestStr as string = "POST /Service.asmx HTTP/1.1
Host: 00.000.000.00
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.xxxxxxx.com"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetInfo xmlns="http://www.xxxxxxx.com"
<Request>string</Request>
<UserID>string</UserID>
</GetInfo>
</soap:Body>
</soap:Envelope>"
If the Web service get this xml it will response with another xml string and this string i want to catch in one of my variable

If someone can give me a sample cod how to implement this request in my VB form
or guide me to one tutorial I will be very grateful

I never done something like this
 
Back
Top