Hi,

I am writing the following function to access the soap webservice of
OpenTravel HotelSearch but this error results:
*Fatal error: SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute
*

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:ota="http://www.opentravel.org/OTA/2003/05";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://www.opentravel.org/OTA/2003/05";
name="HotelSearchService">

<!-- Import Interface Definition WSDL-->
<wsdl:types>
<xs:schema>
<xs:import namespace="http://www.opentravel.org/OTA/2003/05";
schemaLocation="OTA_HotelSearchRQ.xsd"/>
</xs:schema>
<xs:schema>
<xs:import namespace="http://www.opentravel.org/OTA/2003/05";
schemaLocation="OTA_HotelSearchRS.xsd"/>
</xs:schema>
</wsdl:types>
<!-- Define SOAP message-->
<wsdl:message name="HotelSearchRequest">
<wsdl:part name="OTA_HotelSearchRQ" element="ota:OTA_HotelSearchRQ"/>
</wsdl:message>
<wsdl:message name="HotelSearchResponse">
<wsdl:part name="OTA_HotelSearchRS" element="ota:OTA_HotelSearchRS"/>
</wsdl:message>

<!-- Define SOAP PortType-->
<wsdl:portType name="HotelSearchPortType">
<wsdl:operation name="OTA_HotelSearchRQ">
<wsdl:input message="ota:HotelSearchRequest"/>
<wsdl:output message="ota:HotelSearchResponse"/>
</wsdl:operation>
</wsdl:portType>
<!-- Define SOAP binding-->
<wsdl:binding name="HotelSearchBinding" type="ota:HotelSearchPortType">
<!-- Use document style and not rpc-->
<soap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http"; />
<wsdl:operation name="OTA_HotelSearchRQ">
<!-- Use 'literal' to include OTA XML as-is-->
<soap:operation soapAction="HotelSearch" style="document"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.opentravel.org/OTA/2003/05";
/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.opentravel.org/OTA/2003/05";
/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<!-- Define SOAP interface with previously declared binding-->
<wsdl:service name="OTAHotelSearchService">
<wsdl:port name="HotelSearchPort" binding="ota:HotelSearchBinding">
<soap:address location="http:......php"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to