Configuring Server Connection Mappings

Map design-time data source connection profiles to server connections supported by the SAP Mobile Server.

When developing mobile applications, you bind the mobile business objects to the data sources available to the SAP Mobile WorkSpace and available from the Enterprise Explorer. When you deploy Mobile Application projects or Mobile Deployment packages to the SAP Mobile Server, you must change data sources from connection profiles to server connections available to the SAP Mobile Server .

  1. During deployment of a Mobile Application project or Mobile Deployment package, the Server Connection Mapping dialog allows you to change data sources.
    If SAP Mobile Server has a server connection name that matches that of the connection profile, it is selected by default. Otherwise, the server connection mapping is left empty.
  2. Map each design-time connection profile to a corresponding server connection by selecting a server connection from the drop-down list, or select New Server Connection to create a new server connection.
    The Server connection properties field displays information about the selected server connection.
    Note:
    • If you modify an existing design-time connection profile for which there is an existing server connection mapping, you must create a new server connection mapping for the changed design-time connection profile. For example, if you use a connection profile with a port number of 1112 and create a corresponding server connection mapping during deployment, then modify the connection profile port to 1113, when you redeploy the project you cannot use the existing server connection mapping and instead must create a new one.
    • When you deploy a project to SAP Mobile Server and create a server connection, any defined project connection properties that are duplicates of those defined in the server connection properties, are saved into the server connection profile properties.
    For Web service MBOs the mapping dialog automatically loads the design-time SOAP address in the address field, which you can change. Be sure the address is a SOAP address location in the published WSDL, not the WSDL address itself.
  3. Click Next/Finish when you have mapped all connection profiles to server connections.