Error during adding Web Reference of JAVA WSDL in .Net

A

Aziz

Hi Friends,

I have created a web service in Systinet Java. When i try to add a web
reference to it in Visual Studio .Net It gives me the following error.

C:\Systinet_5.0_Interoperability\Client4SystinetWS\Web
References\tcs0461551\Reference.map(1): Custom tool error: Unable to
import WebService/Schema. Unable to import binding 'WebSer' from
namespace 'http://systinet.com/wsdl/com/tcs/mypak/'. Unable to import
operation 'getMessage'. Schema with
targetNamespace='http://systinet.com/xsd/SchemaTypes/' has invalid
syntax. The 'minOccurs' attribute cannot be present.

Can any one tell me what is the error. and how do i resolve it.

Below is the contents WSDL File
==========================================

<?xml version="1.0" encoding="utf-8" ?>
- <definitions name="com.tcs.mypak.WebSer"
targetNamespace="http://systinet.com/wsdl/com/tcs/mypak/"
xmlns:tns="http://systinet.com/wsdl/com/tcs/mypak/"
xmlns:ns0="http://systinet.com/xsd/SchemaTypes/"
xmlns:ns1="http://idoox.com/interface"
xmlns:map="http://systinet.com/mapping/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <schema elementFormDefault="qualified"
targetNamespace="http://idoox.com/interface"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://idoox.com/interface">
- <complexType name="serviceReference">
- <sequence>
<element name="service" type="QName" />
<element name="wsdl" type="anyURI" />
<element minOccurs="0" name="instanceID" type="string" />
<element minOccurs="0" name="portTypeMappings"
type="tns:ArrayOfInterfaceMapping" />
</sequence>
</complexType>
- <complexType name="ArrayOfInterfaceMapping">
- <sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item"
type="tns:interfaceMapping" />
</sequence>
</complexType>
- <complexType name="interfaceMapping">
- <sequence>
<element name="portType" type="QName" />
<element name="className" type="string" />
</sequence>
</complexType>
- <element name="instance">
- <annotation>
<documentation>this is the SOAP header schema this SOAP header
SHOULD have soap-env:mustUnderstand set to "1" this header MUST be
present at most once in any message</documentation>
</annotation>
- <complexType>
- <choice>
<element name="id" type="string" />
<element name="setId" type="string" />
<element name="notFound" type="string" />
</choice>
</complexType>
</element>
</schema>
- <xsd:schema elementFormDefault="qualified"
targetNamespace="http://systinet.com/xsd/SchemaTypes/"
xmlns:tns="http://systinet.com/xsd/SchemaTypes/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element maxOccurs="1" minOccurs="0" name="string_Response"
type="xsd:string" />
</xsd:schema>
</types>
- <message name="WebSer_getMessage_Response_Soap">
<part name="response" element="ns0:string_Response" />
</message>
<message name="WebSer_getMessage__Request_Soap" />
- <message name="runtimeHeaders_0">
<part name="header_0" element="ns1:instance" />
</message>
- <portType name="WebSer">
- <operation name="getMessage">
<input message="tns:WebSer_getMessage__Request_Soap" />
<output message="tns:WebSer_getMessage_Response_Soap" />
</operation>
</portType>
- <binding name="WebSer" type="tns:WebSer">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
- <operation name="getMessage">
<map:java-operation name="getMessage"
signature="KClMamF2YS9sYW5nL1N0cmluZzs=" />
<soap:eek:peration soapAction="http://systinet.com/wsdl/com/tcs/mypak/WebSer#getMessage?KClMamF2YS9sYW5nL1N0cmluZzs="
style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body parts="response" use="literal" />
</output>
</operation>
</binding>
- <service name="WebSer">
- <port name="WebSer" binding="tns:WebSer">
<soap:address location="http://tcs046155:6060/WebSer/" />
</port>
</service>
</definitions>
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top