laptop and a wrench

Bogue

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

Dernière publication: November 16, 2018 ArcGIS Server (.NET)
Numéro d’ID de bogue NIM080620
EnvoiMay 7, 2012
Dernière modificationJune 5, 2024
S’applique àArcGIS Server (.NET)
Version trouvée10.0
Langue du programmeC#
Système d’exploitationWindows OS
Version du système d’exploitation2003
StatutNon-Reproducible

Informations supplémentaires

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.

Solution de contournement

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>

Étapes pour reproduire

ID de bogue: NIM080620

Logiciel:

  • ArcGIS Server (.NET)

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement