468,289 Members | 1,821 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,289 developers. It's quick & easy.

WSDL file error

Hello All,
Iam writing a wsdl file using the Servicedescription
class.The document I get is a well formed xml document.But
some how when I try to add this wsdl file as a webrefernce
to another project in VisualStudio.NET it gives me the
following error
"
c:\inetpub\wwwroot\WebApplication3\Web
References\WebReference\Reference.map(1): Custom tool
error: Unable to import WebService/Schema. Cannot find
definition for
http://schemas.xmlsoap.org/wsdl/:SchemaWebSoapSoap.
Service Description with namespace
http://schemas.xmlsoap.org/wsdl/ is missing.
Parameter name: name"

The following is the wsdl file that I generate

<?xml version="1.0" encoding="utf-8"?>
<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="www.xyz.com"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="www.xyz.com"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema xmlns:sr="www.xyz.com"
attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="www.xyz.com">
<s:complexType name="GetRDF">
<s:sequence />
</s:complexType>
<s:complexType name="GetRDFResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetRDFTriples">
<s:sequence />
</s:complexType>
<s:complexType name="GetRDFTriplesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetRDFNTriples">
<s:sequence />
</s:complexType>
<s:complexType name="GetRDFNTriplesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSchemaLocation">
<s:sequence />
</s:complexType>
<s:complexType name="GetSchemaLocationResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubjects">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubjectsResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetObjects">
<s:sequence />
</s:complexType>
<s:complexType name="GetObjectsResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubClasses">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubClassesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSuperClasses">
<s:sequence />
</s:complexType>
<s:complexType name="GetSuperClassesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubProperties">
<s:sequence />
</s:complexType>
<s:complexType name="GetSubPropertiesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetSuperProperties">
<s:sequence />
</s:complexType>
<s:complexType name="GetSuperPropertiesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetDomains">
<s:sequence />
</s:complexType>
<s:complexType name="GetDomainsResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetDomainProperties">
<s:sequence />
</s:complexType>
<s:complexType name="GetDomainPropertiesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetRanges">
<s:sequence />
</s:complexType>
<s:complexType name="GetRangesResponse">
<s:sequence />
</s:complexType>
<s:complexType name="GetRangeProperties">
<s:sequence />
</s:complexType>
<s:complexType name="GetRangePropertiesResponse">
<s:sequence />
</s:complexType>
</s:schema>
</types>
<message name="SchemaWebSoapGetRDFrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetRDFrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetRDFTriplesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetRDFTriplesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetRDFNTriplesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetRDFNTriplesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSchemaLocationrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetSchemaLocationrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSubjectsrequestIn">
<part />
<part />
</message>
<message name="SchemaWebSoapGetSubjectsrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetObjectsrequestIn">
<part />
<part />
</message>
<message name="SchemaWebSoapGetObjectsrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSubClassesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetSubClassesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSuperClassesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetSuperClassesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSubPropertiesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetSubPropertiesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetSuperPropertiesrequestIn">
<part />
</message>
<message
name="SchemaWebSoapGetSuperPropertiesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetDomainsrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetDomainsrequestOut">
<part />
</message>
<message
name="SchemaWebSoapGetDomainPropertiesrequestIn">
<part />
</message>
<message
name="SchemaWebSoapGetDomainPropertiesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetRangesrequestIn">
<part />
</message>
<message name="SchemaWebSoapGetRangesrequestOut">
<part />
</message>
<message name="SchemaWebSoapGetRangePropertiesrequestIn">
<part />
</message>
<message
name="SchemaWebSoapGetRangePropertiesrequestOut">
<part />
</message>
<portType name="SchemaWebSoap">
<operation name="GetRDF">
<input message="SchemaWebSoapGetRDFrequestIn" />
<output message="SchemaWebSoapGetRDFrequestOut" />
</operation>
<operation name="GetRDFTriples">
<input
message="SchemaWebSoapGetRDFTriplesrequestIn" />
<output
message="SchemaWebSoapGetRDFTriplesrequestOut" />
</operation>
<operation name="GetRDFNTriples">
<input
message="SchemaWebSoapGetRDFNTriplesrequestIn" />
<output
message="SchemaWebSoapGetRDFNTriplesrequestOut" />
</operation>
<operation name="GetSchemaLocation">
<input
message="SchemaWebSoapGetSchemaLocationrequestIn" />
<output
message="SchemaWebSoapGetSchemaLocationrequestOut" />
</operation>
<operation name="GetSubjects">
<input message="SchemaWebSoapGetSubjectsrequestIn" />
<output
message="SchemaWebSoapGetSubjectsrequestOut" />
</operation>
<operation name="GetObjects">
<input message="SchemaWebSoapGetObjectsrequestIn" />
<output
message="SchemaWebSoapGetObjectsrequestOut" />
</operation>
<operation name="GetSubClasses">
<input
message="SchemaWebSoapGetSubClassesrequestIn" />
<output
message="SchemaWebSoapGetSubClassesrequestOut" />
</operation>
<operation name="GetSuperClasses">
<input
message="SchemaWebSoapGetSuperClassesrequestIn" />
<output
message="SchemaWebSoapGetSuperClassesrequestOut" />
</operation>
<operation name="GetSubProperties">
<input
message="SchemaWebSoapGetSubPropertiesrequestIn" />
<output
message="SchemaWebSoapGetSubPropertiesrequestOut" />
</operation>
<operation name="GetSuperProperties">
<input
message="SchemaWebSoapGetSuperPropertiesrequestIn" />
<output
message="SchemaWebSoapGetSuperPropertiesrequestOut " />
</operation>
<operation name="GetDomains">
<input message="SchemaWebSoapGetDomainsrequestIn" />
<output
message="SchemaWebSoapGetDomainsrequestOut" />
</operation>
<operation name="GetDomainProperties">
<input
message="SchemaWebSoapGetDomainPropertiesrequestIn " />
<output
message="SchemaWebSoapGetDomainPropertiesrequestOu t" />
</operation>
<operation name="GetRanges">
<input message="SchemaWebSoapGetRangesrequestIn" />
<output message="SchemaWebSoapGetRangesrequestOut" />
</operation>
<operation name="GetRangeProperties">
<input
message="SchemaWebSoapGetRangePropertiesrequestIn" />
<output
message="SchemaWebSoapGetRangePropertiesrequestOut " />
</operation>
</portType>
<service name="SchemaWeb">
<port name="SchemaWebSoap" binding="SchemaWebSoapSoap">
<soap:address
location="http://www.schemaweb.info/webservices/soap/Schema
WebSoap.asmx" />
</port>
</service>
</definitions>

Any help is greatly appreciated.

Thanks
Suresh

Nov 15 '05 #1
0 1260

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dave | last post: by
2 posts views Thread by pshvarts | last post: by
13 posts views Thread by ScottM | last post: by
reply views Thread by shaily | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.