Excute xml using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shriki123
Forum Newbie
Posts: 1
Joined: Fri Feb 06, 2009 5:55 am

Excute xml using php

Post 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>
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Excute xml using php

Post by josh »

XML is not a programming language and cannot be executed. THis looks like a SOAP request. Wrong forum as well.
Last edited by josh on Tue Feb 10, 2009 12:07 am, edited 2 times in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Excute xml using php

Post by John Cartwright »

Why was this posted in PHPDN Suggestions?

Moved to PHP-Code.
Post Reply