Service1


İşlemlerin tam listesi için burayı tıklayın.

TestRequestIP

Sınama

HTTP POST protokolünü kullanarak işlemi sınamak için, 'Çağır' düğmesini tıklayın.

SOAP 1.1

Aşağıdaki örnekte bir SOAP 1.1 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service1.asmx HTTP/1.1
Host: webservice.pikare.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/TestRequestIP"

<?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>
    <TestRequestIP xmlns="http://tempuri.org/" />
  </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>
    <TestRequestIPResponse xmlns="http://tempuri.org/">
      <TestRequestIPResult>string</TestRequestIPResult>
    </TestRequestIPResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Aşağıdaki örnekte bir SOAP 1.2 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service1.asmx HTTP/1.1
Host: webservice.pikare.com
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>
    <TestRequestIP xmlns="http://tempuri.org/" />
  </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>
    <TestRequestIPResponse xmlns="http://tempuri.org/">
      <TestRequestIPResult>string</TestRequestIPResult>
    </TestRequestIPResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Aşağıdaki örnekte bir HTTP GET isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

GET /service1.asmx/TestRequestIP? HTTP/1.1
Host: webservice.pikare.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>

HTTP POST

Aşağıdaki örnekte bir HTTP POST isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.

POST /service1.asmx/TestRequestIP HTTP/1.1
Host: webservice.pikare.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>