I'm familiar with product feeds, rss feeds, etc. But have never dealt with using SOAP to make a remote call for XML. I've tried different things, and I can't seem to get it to work. All I'm looking for is to execute the call to return the data. I have all the code in place to parse it once it comes through, but I just can't seem to get it to execute.
Here's the SOAP request information:
POST /datacenter/service.asmx HTTP/1.1
Host: www.xxxxxxxxxxxxxxxx.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.xxxxxxxxxx.com/GetCurrentDataVer1"
<?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:Header>
<Authentication xmlns="http://www.xxxxxxx.com/">
<UserName>xxxxxxxxx</UserName>
<Password>xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxxx</Password>
</Authentication>
</soap:Header>
<soap:Body>
<GetCurrentDataVer1 xmlns="http://www.xxxxxxxxxxxxxxxx.com/" />
</soap:Body>
</soap:Envelope>
So all I'm looking for is just the code to make the request so that it returns the information. Thank you in advance for your help, and I appreciate your time.