Page 1 of 1

Excute xml using php

Posted: Fri Feb 06, 2009 5:59 am
by shriki123
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>

Re: Excute xml using php

Posted: Sun Feb 08, 2009 5:52 pm
by josh
XML is not a programming language and cannot be executed. THis looks like a SOAP request. Wrong forum as well.

Re: Excute xml using php

Posted: Mon Feb 09, 2009 10:23 pm
by John Cartwright
Why was this posted in PHPDN Suggestions?

Moved to PHP-Code.