By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,903 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,903 IT Pros & Developers. It's quick & easy.

build proxy with wsdl.exe (Error: Unable to import binding)

P: n/a
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 'EndTransactionSoapBinding' from namespace 'http
s://webservices.sabre.com/websvc'.
- Unable to import operation 'EndTransactionRQ'.
- The element 'http://www.ebxml.org/namespaces/messageHeader:MessageHeader' is
missing.

Any ideas how to solve this one?

Thanks,
C
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The problem is related to importing the schema files.

Replacing the following lines

<import namespace="http://webservices.sabre.com/sabreXML/2003/07"
location="EndTransactionLLSRQRS.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="xmldsig-core-schema.xsd"/>
<import namespace="http://www.w3.org/1999/xlink" location="xlink.xsd"/>
<import namespace="http://schemas.xmlsoap.org/soap/envelope/"
location="envelope.xsd"/>
<import namespace="http://www.w3.org/XML/1998/namespace"
location="xml.xsd"/>
<import namespace="http://schemas.xmlsoap.org/ws/2002/12/secext"
location="wsse.xsd"/>

with

<types>
<xs:schema
targetNamespace="http://webservices.sabre.com/sabreXML/2003/07">
<xs:include schemaLocation="EndTransactionLLSRQRS.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.xsd"/>
</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 EndTransactionLLSRQ.wsdl is located will enable stub generation. The
required files are:

EndTransactionLLSRQ.xsd
EndTransactionLLSRQRS.xsd
EndTransactionLLSRS.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.com> wrote in message
news:1d**************************@posting.google.c om...
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 'EndTransactionSoapBinding' from namespace
'http
s://webservices.sabre.com/websvc'.
- Unable to import operation 'EndTransactionRQ'.
- The element
'http://www.ebxml.org/namespaces/messageHeader:MessageHeader' is
missing.

Any ideas how to solve this one?

Thanks,
C

Nov 21 '05 #2

P: n/a
Thank you so much, I've replaced the imports with includes and it did the job!

-- Carmit

"yuri" <yu****@cablespeed.com> wrote in message news:<e4*************@TK2MSFTNGP11.phx.gbl>...
The problem is related to importing the schema files.

Replacing the following lines

<import namespace="http://webservices.sabre.com/sabreXML/2003/07"
location="EndTransactionLLSRQRS.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="xmldsig-core-schema.xsd"/>
<import namespace="http://www.w3.org/1999/xlink" location="xlink.xsd"/>
<import namespace="http://schemas.xmlsoap.org/soap/envelope/"
location="envelope.xsd"/>
<import namespace="http://www.w3.org/XML/1998/namespace"
location="xml.xsd"/>
<import namespace="http://schemas.xmlsoap.org/ws/2002/12/secext"
location="wsse.xsd"/>

with

<types>
<xs:schema
targetNamespace="http://webservices.sabre.com/sabreXML/2003/07">
<xs:include schemaLocation="EndTransactionLLSRQRS.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.xsd"/>
</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 EndTransactionLLSRQ.wsdl is located will enable stub generation. The
required files are:

EndTransactionLLSRQ.xsd
EndTransactionLLSRQRS.xsd
EndTransactionLLSRS.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.com> wrote in message
news:1d**************************@posting.google.c om...
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 'EndTransactionSoapBinding' from namespace
'http
s://webservices.sabre.com/websvc'.
- Unable to import operation 'EndTransactionRQ'.
- The element
'http://www.ebxml.org/namespaces/messageHeader:MessageHeader' is
missing.

Any ideas how to solve this one?

Thanks,
C

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.