Esri / Esri/arcobjects-sdk-community-samples

Find Near Features .NET SOE Github Sample (10.8.1) contains WSDL references to version 10.3.1

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
122
Forks
190
PR merge metrics
No merged PRs in 30d

Description

Issue: Error deserializing XML from .NET SOAP SOE (10.8.1) due to incorrect WSDL references in sample app

Description:
- Download, build and deploy the "Find Near Features" .NET SOAP SOE:
https://github.com/Esri/arcobjects-sdk-community-samples/tree/master/Net/Server/ServerFindNearSOAPSOE

- Update the below URL in the SOAP Client app:

nearFeatsService.Url = "http://YourDomain.com:6080/arcgis/services/USA/MapServer/NetFindNearFeaturesSoapSOE";

- Right-click the Web References (folder in Solution Explorer) > LocalHost, and choose "Update Web Reference", which downloads the WSDL web references file from the SOE into the SOAP Client app.
- Run the app.
- When the form opens, click the first button on the form, Get Layer Infos.
- An exception is thrown on this line of code in Form1.cs:

CustomLayerInfo[] layerInfos = nearFeatsService.GetLayerInfos();

Exception Message:
There is an error in XML document (1,500).

Inner Exception:
"The specified type was not recognized: name = 'EnvelopeN', Namespace: 'http://esri.com/schemas/Arcgis/10.8';, at ;
....
....

;

....
....

- Issue was reported by a customer to ESRI Support.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.