The problem is related to importing the schema files.
Replacing the following lines
<import namespace="http ://webservices.sab re.com/sabreXML/2003/07"
location="EndTr ansactionLLSRQR S.xsd"/>
<import namespace="http ://www.ebxml.org/namespaces/messageHeader"
location="msg-header-2_0.xsd"/>
<import namespace="http ://www.w3.org/2000/09/xmldsig#"
location="xmlds ig-core-schema.xsd"/>
<import namespace="http ://www.w3.org/1999/xlink" location="xlink .xsd"/>
<import namespace="http ://schemas.xmlsoap .org/soap/envelope/"
location="envel ope.xsd"/>
<import namespace="http ://www.w3.org/XML/1998/namespace"
location="xml.x sd"/>
<import namespace="http ://schemas.xmlsoap .org/ws/2002/12/secext"
location="wsse. xsd"/>
with
<types>
<xs:schema
targetNamespace ="http://webservices.sab re.com/sabreXML/2003/07">
<xs:include schemaLocation= "EndTransaction LLSRQRS.xsd"/>
</xs:schema>
<xs:schema
targetNamespace ="http://www.ebxml.org/namespaces/messageHeader">
<xs:include schemaLocation= "msg-header-2_0.xsd"/>
</xs:schema>
<xs:schema targetNamespace ="http://www.w3.org/2000/09/xmldsig#">
<xs:include schemaLocation= "xmldsig-core-schema.xsd"/>
</xs:schema>
<xs:schema targetNamespace ="http://www.w3.org/1999/xlink">
<xs:include schemaLocation= "xlink.xsd"/>
</xs:schema>
<xs:schema targetNamespace ="http://schemas.xmlsoap .org/soap/envelope/">
<xs:include schemaLocation= "envelope.x sd"/>
</xs:schema>
<xs:schema targetNamespace ="http://www.w3.org/XML/1998/namespace">
<xs:include schemaLocation= "xml.xsd"/>
</xs:schema>
<xs:schema
targetNamespace ="http://schemas.xmlsoap .org/ws/2002/12/secext">
<xs:include schemaLocation= "wsse.xsd"/>
</xs:schema>
</types>
and downloading all required schema files from
http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/ to the same directory
where EndTransactionL LSRQ.wsdl is located will enable stub generation. The
required files are:
EndTransactionL LSRQ.xsd
EndTransactionL LSRQRS.xsd
EndTransactionL LSRS.xsd
env.xsd
envelope.xsd
msg-header-2_0.xsd
wsse.xsd
xlink.xsd
xml.xsd
xmldsig-core-schema.xsd
There will be some validation warnings about duplicate global attributes; it
will probably be worthwile to fix them.
Thanks,
Yuri
"Carmit" <ca*****@mail.c om> wrote in message
news:1d******** *************** ***@posting.goo gle.com...
Hi,
I'm trying to build a proxy for this webservice:
http://webservices.sabre.com/wsdl/sa...tionLLSRQ.wsdl
I'm getting the following error:
Error: Unable to import binding 'EndTransaction SoapBinding' from namespace
'http
s://webservices.sab re.com/websvc'.
- Unable to import operation 'EndTransaction RQ'.
- The element
'http://www.ebxml.org/namespaces/messageHeader:M essageHeader' is
missing.
Any ideas how to solve this one?
Thanks,
C