Cameron,Here is what I was able to do to get my console application to call my SOE with security in place on ArcGIS Server. After I added a service reference to my SOE (WSDL) in VS 2010, I went in and changed the security tag in app.config from this:<security mode="None"> [INDENT]<transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" />[/INDENT] </security>To this:<security mode="TransportCredentialOnly"> [INDENT]<transport clientCredentialType="Ntlm" realm="" />[/INDENT]</security>Hope this helps. Mele
I have a SOAP SOE that I am trying to access from a .NET console application as a service reference. The SOE resides on an ArcGIS Server that implements security. We are using windows authentication to secure our Map Services.Below is the code to call a method from the SOE:using (PrintMap_From_LIS_SOE.ServiceReference3.TE_Coll_Offset_SOEPortClient te = new TE_Coll_Offset_SOEPortClient()) { string coords = te.OffsetCoords("N 94TH ST", "E CACTUS RD", 711670, 944759, "E", 140); }I was able to access the SOE before we implemented security and now I am getting this message:The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.How do I pass credentials to the SOE?Thanks,Mele
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.