We are getting more and more requests from people asking how they can connect their external devices to their Developer Center SUP Server that is hosted by Cloudshare for you. So I thought I write a quick how to show you how to do this and also tell you what you have to know to be able to do this with the Hybrid Web Container (Workflow) of SUP.
I assume you have already installed the Sybase SUP Workflow a.k.a Hybrid Web Container application on your device or simulator. If not have a look here.
In order to connect you have to know the external hostname that your environment was assigned when you started it up. This external hostname can change from time to time as you or Cloudshare stop the server. So please make sure that every time you return to Cloudshare and start up your server you check for the external hostname. You can fine the external hostname under the details link under the “Overview” tab inside Cloudshare.
If this hostname is the same from your last visit where you configured an external device you are good to go if not you have to re-register the device. Remember that the license we use on the Developer Center allows only 5 devices at any given time. Therefore delete any old entries when you have to re-register.
Once you know the external hostname you have two options to connect your device. Either you pre-register the device for any person/string (not user) that comes to your mind on the SUP server before connecting the device or you simply use the automatic registration which requires you to use a real user on the SUP Server.
Connecting to the SUP Server using the pre-registration:
To do this log on to the Sybase Control Center and under “Applications” choose the “Application Connections” tab. Click the Register button to pre-register the device. In the User field choose any username respectively string that you like (this does not have to be a SUP server user any name will do here) and as a servername type the external hostname that you got from Cloudshare. The Server name has to be the external hostname otherwise your device will not be registered at all.
Click the Specify activation code and choose an activation code. Click ok to pre-register the device.
Now on your external device fill out the fields in the settings of the workflow app in the same way. Click the save button to start the registration. You can see in the log via the menu the comunication that your device does with the SUP Server. At least on Android and iOS ;). I guess this works on BB too somehow.
Once the device is connected you can find the information of you device in the same tab under “Applications” -> “Application Connections”
Connecting using a real user in the SUP Server:
If you simply want to use the Automatic Registration you do not have to do anything on the SUP server before registering. Simply make sure your Cloudshare environment is up and running and your SUP server is started. Fill out the fields as shown in the screenshot below. Make sure you use your hostname and not the one that is shown on this screenshot 😉 . As a user you can only use supAdmin with password s3pAdmin. This is the only real user on the SUP server within the Developer Center. Click save and then check the logfile from the menu.
Also here to see if your device connected successfully use the logfiles withing the Hybrid Web Container a.k.a. Workflow application or go to “Applications” -> “Application Connections” inside the SUP Control Center on your Cloudshare environment