tengo el sigueiten codigo
Código PHP:
$url='http://miwsdl.com/travelio-soaTIO/CommonsWSSessionBean?wsdl';
$uri='http://miwsdl.com/travelio-soaTIO/CommonsWSSessionBean';
$producto='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://commonsws.soa.travelio.xpt.es/">
<soapenv:Header/>
<soapenv:Body>
<com:getProduct>
<authenticationData>
<domain>intermundialistas</domain>
<locale>es_ES</locale>
<password>prueba</password>
<user>prueba</user>
</authenticationData>
<shortName>01-9911025</shortName>
</com:getProduct>
</soapenv:Body>
</soapenv:Envelope>';
$cliente_soap = new SoapClient($url, array('trace' => 1,'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP,'uri'=>$uri));
try{
$respuesta_producto = $cliente_soap->__doRequest($producto, $uri,'getProduct',SOAP_1_1);
} catch (Exception $e) {
echo 'Excepción capturada en producto: ', $e->getMessage(), "\n";
}
print_r($respuesta_producto);
Código PHP:
<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:body>
<ns2:getproductresponse xmlns:ns2="http://commonsws.soa.travelio.xpt.es/">
<product>
<code>b03f36f7-e17c-45c7-9f51-336d735b8b35</code>
<shortname>01-9911025</shortname>
<longname>Ski/ Aventura Plus.</longname>
<description>&lt;p&gt;&lt;strong&gt;SKI/AVENTURA PLUS&reg;: &lt;/strong&gt;El Seguro recomendado por las principales Agencias especializadas en Nieve y Turismo Alternativo (m&aacute;s de 50 actividades cubiertas). 4 Seguros en 1 para poder Disfrutar sin Riesgos (Asistencia 24 horas, Anulaci&oacute;n, Reembolso de servicios no disfrutados, Responsabilidad Civil). Incluye la Responsabilidad Civil del monitor, gu&iacute;a o jefe de grupo. &lt;strong&gt;Comisi&oacute;n: 20% sobre la prima neta.&lt;/strong&gt;&lt;/p&gt;</description>
<locale>es_ES</locale>
<type>SERVICE</type>
<location>
<contact>
<qualities>
<code>9e6aa18e-e959-4afe-831f-a25e1cf7380c</code>
<shortname>Gen</shortname>
<longname>General</longname>
</qualities>
<fillfinalclientsmode>ALL</fillfinalclientsmode>
<productcategorization>
<code>d754fe16-ce59-4f50-ac17-2a51a59d483e</code>
<shortname>esqui</shortname>
<longname>Esqui</longname>
<typeid>SERVICE</typeid>
</productcategorization>
<url></url>
</contact>
</location>
</product>
</ns2:getproductresponse>
</soap:body>
</soap:envelope>