Select to view content in your preferred language

Can a ArcGIS Mobile 10.0 client connect to Server 10.1?

2379
4
04-28-2013 09:35 PM
PeterTimmers
Frequent Contributor
<Edit: that should be ArcGIS Mobile 3.1 not 10.0 - but I reckon I can be forgiven for version confusion with ArcGIS Mobile...>

I've got a ArcGIS Mobile 10.0 SDK Desktop app which we're trying to keep running for a bit longer.


I can't seem to connect to a 10.1 Server. The mobile service address used to be something like


http://<machine>/arcgis/services/<service>/MapServer/MobileServer


This doesn't appear to be working. I know I can open this service in Mobile Project Center 10.1.1 and with Fiddler it's using the above address.

I'm trying to check whether you can connect a 10.0 client to 10.1 server before I waste hours trying to work this out.
0 Kudos
4 Replies
ChristopherOlsen
Frequent Contributor
Yes, the 3.1 application should have no problems hooking into 10.1 services.  One thing to check is the URL, since this has changed.  You should be using the "http://<server>[: port]/<instance>/rest" format instead of the 'mobileservice' endpoint.  At 3.1, the application browses the REST endpoint of the server and looks for mobile services automatically.  See the screenshot for example.

-Chris
0 Kudos
PeterTimmers
Frequent Contributor
Thanks for that.

I'm using the SDK here.   While the project center is looking in the rest and finding the mobile service automatically I'm connecting to the service directly.

http://help.arcgis.com/en/arcgismobile/10.0/apis/arcgismobile/api/ESRI.ArcGIS.Mobile~ESRI.ArcGIS.Mob...

You're connecting to the SOAP interface with this url.

http://<machine>/arcgis/services/<mapservice>/MapServer/MobileServer?wsdl gives me a valid response.

The REST has changed from 10.0 to 10.1 - now you have two endpoints.  MapServer and MobileServer

[ATTACH=CONFIG]23846[/ATTACH]

For some reason it's not working in the 3.1 SDK and is working Mobile Project Center 10.1...  the help for 3.1 SDK isn't extensive.



All I really want to do is confirm that I'm still using the correct url for the MobileServiceConnection URL property.  I've tried a few variations now.
0 Kudos
AkhilParujanwala
Regular Contributor
Just a guess, maybe you have already tried this but put the port number beside the <machine>?
http://<machine><port>/arcgis/services/<mapservice>/MapServer/MobileServer?wsdl

I personally am still using 10.0, so I have not gone through these types of problems.
0 Kudos
PeterTimmers
Frequent Contributor
So I just created a mobile service on 10.1 Server and went to connect in 10.0.0.0 Mobile Project Center and while it initially says it connects it then has a red exclamation mark with the error message "Error: Unknown".

I've now tried it with a number of map services with no luck.  These map services all work with Mobile Project Center 10.1.1.

Some of these map services have attachments but most don't.

So can I say conclusively no you can't connect 10.0.0.0 Mobile to 10.1?
0 Kudos