Hej
Försöker lära mig hur SOAP fungerar i ASP. Jag vill få ut några värden i varibeler i asp. hur går jag till väga.
Har följande instruktioner:
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /webservice/customer.asmx HTTP/1.1
Host: kontrollpanel.fredrika.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://windows.kontrollpanelen.se/webservice/GetAccountDomains"<?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>
<GetAccountDomains xmlns="https://windows.kontrollpanelen.se/webservice/">
<reseller_username>string</reseller_username>
<reseller_password>string</reseller_password>
<username>string</username>
</GetAccountDomains>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length<?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>
<GetAccountDomainsResponse xmlns="https://windows.kontrollpanelen.se/webservice/">
<GetAccountDomainsResult>
<xsd:schema>schema</xsd:schema>xml</GetAccountDomainsResult>
</GetAccountDomainsResponse>
</soap:Body>
</soap:Envelope>