laptop and a wrench

Bug

ArcObjects SDK 10 .NET SOAP SOE samples (ServerSimpleSOAPSOE and ServerFindNearSOAPSOE) have incorrect sample WDSL files in the SupportFiles\XmlSchema folder.

Last Published: November 16, 2018 ArcGIS Server (.NET)
Bug ID Number NIM080620
SubmittedMay 7, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS Server (.NET)
Version found10.0
Program languageC#
Operating SystemWindows OS
Operating System Version2003
StatusNon-Reproducible

Additional Information

This issue is not reproducible in the current release of the software. If you are encountering this issue, please contact Esri Technical Support (for customers in the United States) or your Esri distributor (for customers outside the United States) to resolve this issue.

Workaround

1. For the Simple SOAP SOE sample, add the following XML schemas in SimpleSoapSoe.wsdl right before the </types> tag. These XML schemas define the requests and responses for method EchoInput of the Simple SOAP SOE sample.<xs:schema xmlns="<a href="http://www.esri.com/schemas/ArcGIS/10.0" target="_blank">http://www.esri.com/schemas/ArcGIS/10.0</a>" xmlns:tns="<a href="http://examples.esri.com/schemas/SimpleSoapSOE/1.0" target="_blank">http://examples.esri.com/schemas/SimpleSoapSOE/1.0</a>" targetNamespace="<a href="http://examples.esri.com/schemas/SimpleSoapSOE/1.0" target="_blank">http://examples.esri.com/schemas/SimpleSoapSOE/1.0</a>"><xs:import namespace="<a href="http://www.esri.com/schemas/ArcGIS/10.0" target="_blank">http://www.esri.com/schemas/ArcGIS/10.0</a>" /><xs:element name="EchoInput"><xs:complexType><xs:sequence><xs:element name="Text" type="xs:string" /></xs:sequence></xs:complexType></xs:element><xs:element name="EchoInputResponse"><xs:complexType><xs:sequence><xs:element name="Result" type="xs:string" /></xs:sequence></xs:complexType></xs:element></xs:schema>2. For the Find near features SOAP SOE sample, add the following XML schemas in the sample FindNearFeaturesSoapSoe.wsdl right before </types> tag.<xs:schema xmlns="<a href="http://www.esri.com/schemas/ArcGIS/10.0" target="_blank">http://www.esri.com/schemas/ArcGIS/10.0</a>" xmlns:tns="<a href="http://examples.esri.com/schemas/FindNearFeaturesSoapSOE/1.0" target="_blank">http://examples.esri.com/schemas/FindNearFeaturesSoapSOE/1.0</a>" targetNamespace="<a href="http://examples.esri.com/schemas/FindNearFeaturesSoapSOE/1.0" target="_blank">http://examples.esri.com/schemas/FindNearFeaturesSoapSOE/1.0</a>"><xs:import namespace="<a href="http://www.esri.com/schemas/ArcGIS/10.0" target="_blank">http://www.esri.com/schemas/ArcGIS/10.0</a>" /><xs:element name="GetLayerInfos"><xs:complexType /></xs:element><xs:element name="GetLayerInfosResponse"><xs:complexType><xs:sequence><xs:element name="Result" type="tns:ArrayOfCustomLayerInfo" /></xs:sequence></xs:complexType></xs:element><xs:element name="FindNearFeatures"><xs:complexType><xs:sequence><xs:element name="LayerID" type="xs:int" /><xs:element name="Location" type="Point" /><xs:element name="Distance" type="xs:double" /></xs:sequence></xs:complexType></xs:element><xs:element name="FindNearFeaturesResponse"><xs:complexType><xs:sequence><xs:element name="Result" type="RecordSet" /></xs:sequence></xs:complexType></xs:element><xs:complexType name="CustomLayerInfo"><xs:sequence><xs:element name="Name" type="xs:string" /><xs:element name="ID" type="xs:int" /><xs:element name="Extent" type="Envelope" /></xs:sequence></xs:complexType><xs:complexType name="ArrayOfCustomLayerInfo"><xs:sequence><xs:element minOccurs="0" maxOccurs="unbounded" name="CustomLayerInfo" type="tns:CustomLayerInfo" /></xs:sequence></xs:complexType></xs:schema>

Steps to Reproduce

Bug ID: NIM080620

Software:

  • ArcGIS Server (.NET)

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options