PHP SOAP Newbie
Posted: Wed Sep 08, 2010 11:34 am
Hi everybody
I need some help with creating a script which can query a clients XML Web service, the problem is I have never used SOAP before and after spending all day going around in circle am admitting defeat and asking for help
This is the request I need to create in PHP SOAP
If anybody can help it would be most appreciated.
I need some help with creating a script which can query a clients XML Web service, the problem is I have never used SOAP before and after spending all day going around in circle am admitting defeat and asking for help
This is the request I need to create in PHP SOAP
Code: Select all
SOAP 1.0
XML IN (example):
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<tem:AuthHeader>
<tem:username>12345</tem:username>
<!--Optional:-->
<tem:password>12345</tem:password>
</tem:AuthHeader>
</soap:Header>
<soap:Body>
<tem:PremiumSeats>
<tem:DateBegins>2009-11-10</tem:DateBegins>
<tem:DateEnds>2009-11-18</tem:DateEnds>
<!--Optional:-->
<tem:OneShowCode>phantom</tem:OneShowCode>
</tem:PremiumSeats>
</soap:Body>
</SOAP-ENV:Envelope>