Select to view content in your preferred language

Mobile Project Center results an error when using secured services

3279
2
04-16-2013 03:33 AM
MaximilianGlas
Esri Contributor
situation:
ArcGIS Mobile 10.0, default Application and own extensions and tasks
ArcGIS Server 10.0, mobile services, accessible via reverse proxy by https (ssl), secured by windows authentification

problem:
I have to consume a secured service (https and user credentials) in our project.
But in Mobile Project Center I got an error:

  1. Open MPC

  2. Create a new project

  3. Add a new service

  4. Select the arcgis server instance (https://server/arcgis)

  5. Credential window is opening

  6. Login by user/password

  7. select the service in the list

  8. add this service to the project


And here in the last step I get an exclamation mark behind the service name and will be requested to input my credentials again.

When looking with fiddler to the requests, I recognize the following one:
Forbidden
You don't have permission to access /arcgis/services/mobile/MyMobileService/MapServer/MobileServer on this server.



I still try on to solve the problem, but maybe anyone of you have an idea ...
0 Kudos
2 Replies
MaximilianGlas
Esri Contributor
interesting thing in the GetServiceDescriptionsResponse answer from the server after successful authentification ...


<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:tns="http://www.esri.com/schemas/ArcGIS/10.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<tns:GetServiceDescriptionsResponse>
<ServiceDescriptions>
<ServiceDescription xsi:type="tns:ServiceDescription">
<Name>mobile/MyMobileService</Name>
<Type>MobileServer</Type>
<Url>http://server/arcgis/services/mobile/MyMobileService/MapServer/MobileServer</Url>
<ParentType>MapServer</ParentType>
<Capabilities/>
<Description/>
</ServiceDescription>
</ServiceDescriptions>
</tns:GetServiceDescriptionsResponse>
</soap:Body>
</soap:Envelope>


No idea why i get an http link while connecting through a https link, in my opinion this should be a https link instead.
I take a look to the server configuration if i should configure anything.
0 Kudos
MarkHoyland
Frequent Contributor
Here is what I have found while trying to debug my own issues and it might help.
(although my issues relate to dns type, name resolution, connection errors)

The rest.config file stores the soap end point urls and you can change them.
Try setting the SoapUrl to point to your https reverse proxy server.

<SoapUrl>https://server/ArcGIS/services</SoapUrl>
<SoapSslUrl>https://server:443/ArcGIS/services</SoapSslUrl>

http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Exposing_your...
0 Kudos