By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,292 Members | 1,596 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,292 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 'controllerSoapBinding' 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 'controllerSoapBinding' 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="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://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="http://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:complexType 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:complexType name="Envelope">
<s:sequence>
<s:element name="holder" nillable="true" type="soapenc:Array"
/>
</s:sequence>
</s:complexType>
........

What is a problem??
Please help!!!

Thanks in advance.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.