Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Error during adding Web Reference of JAVA WSDL in .Net

Reply
Thread Tools

Error during adding Web Reference of JAVA WSDL in .Net

 
 
Aziz
Guest
Posts: n/a
 
      04-08-2005
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/"
xmlnssd="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=" />
<soapperation 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>
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
Warning during generating classes through WSIMPORT & Error during xmlvalidation traveller Java 0 01-08-2008 07:00 AM
Custom WSDL, Error while adding as web reference MD ASP .Net Web Services 1 12-06-2007 11:40 PM
Adding a web reference to a java web service wawa_piggy ASP .Net Web Services 5 04-22-2004 02:54 PM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM



Advertisments