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

M

maxim mat

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top