HighTechTalks DotNet Forums  

Unable to import Binding "xxx" from namespace "xxx" while running the WSDL tool for a Java Webservice

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Unable to import Binding "xxx" from namespace "xxx" while running the WSDL tool for a Java Webservice in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Unable to import Binding "xxx" from namespace "xxx" while running the WSDL tool for a Java Webservice - 06-21-2006 , 03:59 PM






Guys,

I have had very limited experience in working with webservices created
in .NET but this is the first time I am trying out one made in Java.

I am trying to create a proxy class in C# for so that I can use SOAP to
access the webserivce. 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 'XXXXXXXXXXBinding' from namespace 'urn
:XXXXX'.
- Unable to import operation 'XXXXXXX'.
- The datatype 'Array' is missing.

I have looked through the web and found that this could be caused due
to a import in the wsdl file. There are a lot of posts out there but I
havent been able to get it to work. I am new to this and cannot seem to
figure out how to import the xsd file within the wsdl file

Here is the wsdl:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:Cosmos2DService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:Cosmos2DService" xmlns:intf="urn:Cosmos2DService"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns2="http://util.xxxxxxx.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://util.xxxxxxx.com"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="UpdateCodeBean">
<sequence>
<element name="codeRef" nillable="true" type="xsd:string"/>
<element name="parameterName1" nillable="true" type="xsd:string"/>
<element name="parameterName2" nillable="true" type="xsd:string"/>
<element name="parameterName3" nillable="true" type="xsd:string"/>
<element name="parameterName4" nillable="true" type="xsd:string"/>
<element name="parameterName5" nillable="true" type="xsd:string"/>
<element name="parameterValue1" nillable="true"
type="xsd:string"/>
<element name="parameterValue2" nillable="true"
type="xsd:string"/>
<element name="parameterValue3" nillable="true"
type="xsd:string"/>
<element name="parameterValue4" nillable="true"
type="xsd:string"/>
<element name="parameterValue5" nillable="true"
type="xsd:string"/>
</sequence>
</complexType>
<complexType name="ServiceMessageBean">
<sequence>
<element name="clientServiceId" nillable="true"
type="xsd:string"/>
<element name="providerId" nillable="true" type="xsd:string"/>
<element name="responseCode" nillable="true" type="xsd:string"/>
<element name="serviceCode" nillable="true" type="xsd:string"/>
<element name="serviceDescription" nillable="true"
type="xsd:string"/>
<element name="serviceStatus" nillable="true" type="xsd:string"/>
<element name="serviceType" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
......

Any idea as to how I should import the datatypes within the wsdl are
appreciated.

Thanks in advance.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.