This section describes settings in the global.properties.xml file used to integrate M-Business Anywhere and Mobile Web Studio. The settings include:
alwaysValidateSession – enables personal channels to work properly on mobile devices.
MB.Enabled – enables connection from Mobile Web Studio to the M-Business Anywhere database, AGDB.
MB.AutoRegistration – determines how user accounts are handled between Mobile Web Studio and M-Business Anywhere. See “Self-registration” for information.
See the Chapter 10, “Configuring Global Properties” for
more information about the global.properties.xml file.
Modifying the global.properties.xml file
for M-Business Anywhere
In a text editor, open global.properties.xml (located in SYBASE\UA80\tomcat\webapps\onepage\config).
Search the file for: <Property
name="alwaysValidateSession".
Set alwaysValidateSession to “false” to enable personal channels to work on a mobile device or Portal Interface. Otherwise, you see a message similar to “Your submission has been recorded and will be sent during the next Synchronization” when you try to access an application on the PDA or mobile device.
Search the file for: <Property
name="MB.Enabled"
.
Set MB.Enabled to “true” to integrate M-Business Anywhere with Portal Interface and Mobile Web Studio.
Search the file for: <Property
name="MB.AutoRegistration"
.
By default, MB.AutoRegistration is set to “false.” Use the information in “Self-registration” to determine whether to change the MB.AutoRegistration parameter value.
Save the file and close it.
The global.properties.xml property, MB.AutoRegistration, determines how user accounts are handled when Unwired Accelerator and M-Business Anywhere are integrated.
If MB.AutoRegistration is set to “true,” when a user joins the Portal Interface, or a user is added to Mobile Web Studio, the user automatically joins the M-Business Anywhere server with the same user name and password.
If MB.AutoRegistration is set
to “false,” Mobile Web Studio does not self-register
to M-Business Anywhere. After setting up a user in Mobile Web Studio,
the StudioAdmin user, such as masuper
,
must also register the user in M-Business Anywhere, using M-Business | User/Roles,
and selecting “Create M-Business user.”
If a Mobile Web Studio user already exists, but does not have an account in M-Business Anywhere, the M-Business Anywhere administrator can create an account for the user, or the Mobile Web Studio user can self-register in M-Business server or in Mobile Web Studio.
The user names in Mobile Web Studio and M-Business Anywhere
server must match. If you create a user in M-Business Anywhere,
an account is not created for the user in Mobile Web Studio.