laptop and a wrench

漏洞

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

上次发布: November 16, 2018 ArcGIS Server (.NET)
漏洞 ID 编号 NIM080620
已提交May 7, 2012
上次修改时间June 5, 2024
适用范围ArcGIS Server (.NET)
找到的版本10.0
编程语言C#
操作系统Windows OS
操作系统版本2003
状态Non-Reproducible

附加信息

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.

解决办法

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>

重现步骤

漏洞 ID: NIM080620

软件:

  • ArcGIS Server (.NET)

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项