Med Microsofts SOAPClient:
http://www.codeproject.com/asp/googleapisinasp.asp
utan:
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/3/
3 svar · 332 visningar · startad av Addeladde
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>
Med Microsofts SOAPClient:
http://www.codeproject.com/asp/googleapisinasp.asp
utan:
http://www.devarticles.com/c/a/ASP/An-Introduction-To-XML-SOAP-Using-ASP-and-VB6/3/
Hej
Jag har tittar på http://www.devarticles.com/c/a/ASP/...-ASP-and-VB6/3/
Men förstår inte riktigt hur det fungerar. Det är dessutom kod för VB och ASP kombinerat verkar det som. Dessutom verkar det vara mer för att bygga sin egen webservice. Jag vill ju bara anroppa och få svar.
Ingen som gjort något liknande?