Ele precisa de algumas solicitações SOAP.
O código seguinte é uma amostra SOAP 1.1 solicitação e resposta, mas eu não sei como implementar isso em php?
Por favor, poderiam me ajudar com um exemplo ou referencias?
POST /hotelservices.asmx HTTP/1.1
Host: xml.trendoperadora.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://TrendOperadora.SIG.XML.ServiceContracts/2007/09/GetDestinationList"
<?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 Domain="string" Language="string" Currency="string" RequestorID="string" xmlns="http://TrendOperadora.SIG.XML.DataTypes/2007/09">
<AccessCode>int</AccessCode>
<UserName>string</UserName>
<Password>string</Password>
</LoginHeader>
</soap:Header>
<soap:Body />
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?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:Body>
<GetDestinationListResult xmlns="http://TrendOperadora.SIG.XML.ServiceContracts/2007/09">
<DestinationList>dataset</DestinationList>
</GetDestinationListResult>
</soap:Body>
</soap:Envelope>
Edição feita por: wawasurf, 13/03/2013, 10:29.










