WSDL Validation .Net Use of WFS
Copyright © Open Geospatial Consortium, Inc. 2005
37
The command line tool wsdl.exe was used on the WSDL as well. It reported back that no classes were generated, probably due to the fact that it could not understand the WSDL.
Copyright © Open Geospatial Consortium, Inc. 2005
Next Add Reference was used on the combined WSDL file. This time VS .NET was able to understand the file but reported errors that would not allows it to generated stubs. The
errors reported were:
The document at the url file:C:Documents and Settingsmiabatemiabates DocumentsMy Work FilesVisual Studio ProjectsGaldosTestwfs-galdos-vega.wsdl was not recognized as a known document
type.
The error message from each known type may help you fix the problem: - Report from WSDL Document is There is an error in XML document 141, 4..
- More than one message named GetCapabilitiesRequest was specified. Each message must have a unique name.
- Report from DISCO Document is Discovery document at the URL file:C:Documents and Settingsmiabatemiabates DocumentsMy Work FilesVisual Studio ProjectsGaldosTestwfs-galdos-
vega.wsdl could not be found..
- The document format is not recognized. - Report from XML Schema is Expected Schema root. Make sure that the root element is schema and
the namespace is http:www.w3.org2001XMLSchema for an XSD schema or urn:schemas-microsoft- com:xml-data for an XDR schema. An error occurred at , 2, 2..
Copyright © Open Geospatial Consortium, Inc. 2005
39
Copyright © Open Geospatial Consortium, Inc. 2005