473,714 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 '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
Nov 21 '05 #1
2 22532
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

Nov 21 '05 #2
Thank you so much, I've replaced the imports with includes and it did the job!

-- Carmit

"yuri" <yu****@cablesp eed.com> wrote in message news:<e4******* ******@TK2MSFTN GP11.phx.gbl>.. .
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

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1749
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 find too much that was helpful... I am trying to tie into the web services offered by a large firm. They have a basic set of methods I was able to integrate easily into my project using the tried and true "auto generate the proxy method". The...
0
1959
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 find too much that was helpful... I am trying to tie into the web services offered by a large firm. They have a basic set of methods I was able to integrate easily into my project using the tried and true "auto generate the proxy method". The...
0
2158
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 seen that the error is related to the ouput parameter. To my understanding this could be related to the MIME tag. However, I'm by far not a WSDL expert.
0
1800
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 get the following error message: Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com' is not available to be referenced in this schema. Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
0
1982
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 error: Unable to import WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace...
0
4840
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 WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace 'http://schemas.microsoft.com/clr/nsassem/RemoteServer/RemoteServer%2C%20Version%3D1.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull'. Unable to import...
1
1648
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 the wsdl provided it throws the following error. Error: Unable to import binding 'CosmosXXXXXBinding' from namespace 'urn :XXXXX'.
0
1384
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 of a package). However it runs on the Java Platform and by the looks of it uses Soap with Attachments which is not supported by Microsoft natively at present. I have checked the validity of the WSDL using the Altova WSDL
0
1607
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 appreciated. The error message is Error: Unable to import binding 'BusinessHierarchyBinding' from namespace 'http://com/jpmc/cio/bhservice'. - Unable to import Operation: 'GetBookList' - Operation Binding 'GetBookList' from Namespace...
0
9318
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9079
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7957
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5961
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3160
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2113
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.