473,750 Members | 2,292 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 22537
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
1752
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
1961
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
2160
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
1986
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
4843
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
1385
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
1609
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
8999
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9575
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...
0
9394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8260
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
6803
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
6080
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();...
0
4712
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.