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.

Zuletzt veröffentlicht: November 16, 2018 ArcGIS Server (.NET)
Bug-ID-Nummer NIM080620
EingereichtMay 7, 2012
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Server (.NET)
Gefunden in Version10.0
ProgrammspracheC#
BetriebssystemWindows OS
Betriebssystemversion2003
StatusNon-Reproducible

Zusätzliche Informationen

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>

Schritte zur Reproduzierung

Bug-ID: NIM080620

Software:

  • ArcGIS Server (.NET)

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln