Services URL property

Official Content
This documentation is valid for:
Determines the URL where the REST Web Services of the Smart Device application may be found.


The Service URL should have a structure like this:
- protocol: It can be http or https, depending on your requirements.
- server_domain: The domain of your webapp (it could be an IP direction as well).
- port: Optional. Port number where the server is listening.
- virtual_directory: The location of your REST web services


See Smart Devices online applications architecture for more information about the Smart Devices architecture and the role of the Rest Services in this kind of apps.

There are Smart Devices Client apps where the Server providing the services is defined by the Client. So, the application does not actually have the server URL defined at design time. This is a common scenario for many applications where the Server side is a product in itself.

Basically, instead of defining, in design time, where my User Interface will consume services, it is defined in a setting of the client application. In this case, the Services URL property should be left empty so that upon entering the application, the final user will be required to enter a Services URL value. 

However, you should consider setting a default value for the devices services URL property, since it is a requirement of the Apple approval.

See Also