![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 144 Pomógł: 18 Dołączył: 11.12.2005 Skąd: Gdańsk Ostrzeżenie: (0%) ![]() ![]() |
Jak wykonać takie zapytanie za pomocą SOAP?
POST /XMLWebService.asmx HTTP/1.1 Host: xml.qa.goglobal.travel 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> <MakeRequest xmlns="http://www.goglobal.travel/"> <requestType>string</requestType> <xmlRequest>string</xmlRequest> </MakeRequest> </soap12:Body> </soap12:Envelope> Próbowałem już różnych sposobów ale za chiny nie wiem jak wysłać np. takiego xmla aby otrzymać odpowiedź z listą hoteli XML
Teraz mam coś takiego
var_dump zwraca mi array(4) { [0]=> string(86) "MakeRequestCompressedResponse MakeRequestCompressed(MakeRequestCompressed $parameters)" [1]=> string(56) "MakeRequestResponse MakeRequest(MakeRequest $parameters)" [2]=> string(86) "MakeRequestCompressedResponse MakeRequestCompressed(MakeRequestCompressed $parameters)" [3]=> string(56) "MakeRequestResponse MakeRequest(MakeRequest $parameters)" } chciałbym teraz użyć funkcji MakeRequest do wykonania zapytania XML z poprzedniego posta. Jak to ogarnąć? Ten post edytował ostrylg 6.03.2014, 21:57:33 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 7.10.2025 - 12:45 |