Brug af WebService ?
Nogen der kan forklarer mig, hvordan jeg gøre brug af en webservice ? har søgt på nettet, men kan ikke finde en komplet guide til det.Jeg skal bruge den her? men aner ikke hvad jeg skal stille op med det :(
Jeg har et link på min side og når man trykke på det, så skal jeg have kontakt til webservicen fra min codebehind, hvor jeg så sender ID og password med osv. men jeg ved ikke hvor jeg skal starte..
POST /webservices/public/management.asmx HTTP/1.1
Host: gw.myhost.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<Capture xmlns="http://gw.myhost.dk/WebServices/Public/Management">
<ID>int</ID>
<password>string</password>
</Capture>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<Response xmlns="http://gw.myhost.dk/WebServices/Public/Management">
<Result>int</Result>
</Response>
</soap12:Body>
</soap12:Envelope>