467,076 Members | 891 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

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

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
  • viewed: 18623
Share:
2 Replies
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
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.

Similar topics

reply views Thread by bob | last post: by
reply views Thread by bob | last post: by
reply views Thread by José Joye | last post: by
reply views Thread by DotDidIt | last post: by
reply views Thread by Jigar.Patel@nospam.nospam | last post: by
reply views Thread by Jigar.Patel@nospam.nospam | last post: by
reply views Thread by =?Utf-8?B?S2FydW5ha2Fy?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.