Excute xml using php
Posted: Fri Feb 06, 2009 5:59 am
I want to execute below xml using PHP
Please help
POST /searchsailings/sailings.asmx HTTP/1.1
Host: ws.ourvacationstore.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ovscruise.com/websearch/sailings/GetCruiseLines"
<?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:Header>
<LoginHeader xmlns="http://ovscruise.com/websearch/sailings">
<UserName>string</UserName>
<Password>string</Password>
</LoginHeader>
</soap:Header>
<soap:Body>
<GetCruiseLines xmlns="http://ovscruise.com/websearch/sailings" />
</soap:Body>
</soap:Envelope>
Please help
POST /searchsailings/sailings.asmx HTTP/1.1
Host: ws.ourvacationstore.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ovscruise.com/websearch/sailings/GetCruiseLines"
<?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:Header>
<LoginHeader xmlns="http://ovscruise.com/websearch/sailings">
<UserName>string</UserName>
<Password>string</Password>
</LoginHeader>
</soap:Header>
<soap:Body>
<GetCruiseLines xmlns="http://ovscruise.com/websearch/sailings" />
</soap:Body>
</soap:Envelope>