472,378 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,378 software developers and data experts.

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
2 20423
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bob | last post by:
I have been trying to auto generate a proxy from a WSDL file. I do this fairly regularly, so I am not a novice, but perhaps I am missing something easy. I searched on the problem, but did not...
0
by: bob | last post by:
I have been trying to auto generate a proxy from a WSDL file. I do this fairly regularly, so I am not a novice, but perhaps I am missing something easy. I searched on the problem, but did not...
0
by: José Joye | last post by:
hello, I have to communicate with a web Service for which I received the WSDL below. When trying to generate the client proxy, it gives me the error (see below). After investigation, I have...
0
by: DotDidIt | last post by:
Hi Everybody! I developed a Web service with IBM RAD v 6.0.1. After creating the WSDL file i have tried to develop a .Net client. But by using wsdl.exe (1.1.4322) to create a .net c# proxy i...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project by serveraddresss?wsdl, it gives me following error: Custom tool...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
1
by: Vishuonline | last post by:
Guys, I have had some experience in working with webservices created in .NET but this is the first time I am trying out one made in Java. When I run the wsdl exe to create a proxy class for...
0
by: =?Utf-8?B?S2FydW5ha2Fy?= | last post by:
Hi Everyone, I have reached a dead end in trying to solve the following problem. I have been given this wsdl that is already in operation in production systems throughtout the world (its part...
0
by: freshj | last post by:
I am attempting to create a C# proxy using WseWsdl3 against a WSDL file created by out Java development staff. I am having the hardest time figuring out what the issue is. Any help would be greatly...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.