473,761 Members | 7,351 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service problem - "Unable to Import Binding from Namespace..."

Hi
I need to build client for web service.
But when I'm using Visual Studio .NET to add Web Reference, I get error:
"Custom tool error: Unable to import WebService/Schema. Unable to import
binding 'controllerSoap Binding' from namespace 'http://Bla-Bla-Bla'.
Unable to import operation 'getClient'. The datatype 'Array' is missing.
"
Some problem when I try to use wsdl.exe tool in .NET. I get:
Schema validation warning: Type 'cww:Class' is not declared.

Warning: Schema could not be validated. Class generation may fail or may
produce
incorrect results.

Error: Unable to import binding 'controllerSoap Binding' from namespace
'http://Bla-Bla-Bla'.
- Unable to import operation 'getClient'.
- The datatype 'Array' is missing."

At wsdl file i have following definitions:
<definitions xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="cww"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns="http ://Bla-Bla-Bla"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
targetNamespace ="http://Bla-Bla-Bla"
xmlns="http://schemas.xmlsoap .org/wsdl/">
<types>
<s:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace ="cww">
<s:import namespace="http ://schemas.xmlsoap .org/soap/encoding/" />
<s:complexTyp e name="Enum" abstract="true" >
<s:sequence>
<s:element name="enumClass " nillable="true" type="s0:Class" />
<s:element name="name" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="Envelope" >
<s:sequence>
<s:element name="holder" nillable="true" type="soapenc:A rray"
/>
</s:sequence>
</s:complexType>
........

What is a problem??
Please help!!!

Thanks in advance.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
0 2987

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

Similar topics

9
4975
by: monkey | last post by:
I just learn to make a blank windows frame with python and wxpython. I found the statment "import wx" cannot work as the original "from wxPython.wx import *". I see in the readme file of wxpython that if I install it as the default one, I can use "import wx" instead of the long one. What is wrong? The code pasted below: import wx # the default is "from wxPython.wx import *", I change it and it just can't work. class MyApp(wxApp):
0
2725
by: Bill Davy | last post by:
I am working with MSVC6 on Windows XP. I have created an MSVC project called SHIP I have a file SHIP.i with "%module SHIP" as the first line (file is below). I run SHIP.i through SWIG 1.3.24 to obtain SHIP_wrap.cpp and SHIP.py; the latter contains the line "import _SHIP". I compile SHIP_wrap.cpp and a bunch of files into a DLL which I have the
2
1428
by: Vitali Gontsharuk | last post by:
Hi! I can't find an answer to the following question: does the "import" command in XML Schema import also element declarations? Or only type definitions? As far as I understood, the first takes place... The spec says: "In our example, we imported one simple type from one external namespace, and used it for declaring attributes. XML Schema in fact permits multiple schema components to be imported, from multiple namespaces, and they can...
1
1530
by: Davíð Þórisson | last post by:
asking a lot these days... how would I ever learn .Net without the newsgroups!! Well I'm stuck on yet another point. All pages on my web have a user control (initialise) that handles for example database connection; opens db on page_onload and closes db on page_unload. But so that the connection object is as easily accessible from all subpages and other user controls I'd like to somehow "bind" it to the top level Page class. Otherwise I...
0
2835
by: Charles Leonard | last post by:
I need opinions regarding Web Service Namespace usage and/or suggestions regarding how to handle deployment. Our web service application will exist in two different domains and is likely to exist in multiple domains. There is a prevailing opinion here at my office that the Web Service Namespace should match the domain where it is installed. From what I have read, the Namespace simply needs to be unique and does not necessarily need to...
0
1179
by: Stephen Costanzo | last post by:
I am using the file system object to determine the available drive space (and total drive space) of UNC path directories, however I am also trying to strong name the DLL. While I can create the key for my DLL, it cannot build the DLL because the File System Object is not strongly named "Interop.Scripting does not have a strong name". Is there a way around this (late binding, I would guess) or some other way to get around this? The...
3
2304
by: Chris | last post by:
Hi, 1) In file test.aspx, i put: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> <%@ import namespace="System.Data"%> <%@ import namespace="System.Data.OleDb"%> .... In file test.aspx.vb, i put:
14
2135
by: Paulo da Silva | last post by:
Hi! If I have two files .py such as m.py from c import * ... x=c() ... os.any_method ...
2
2352
by: richs99 | last post by:
Hi people, I'm a noob so go easy on me ;o) I've been asked to do some work utilizing the following web service: https://www-verification.qantas.com.au/hotels/services/DistributorPort?wsdl However, when I add the service to a dotnet project, I can no longer compile it, i get the following error:
0
9522
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
10111
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
9902
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
9765
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
8770
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...
0
6603
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
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
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
3
2738
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.