There are several scenarios where this problem can occur:
1. The mobile device fails to communicate with the Web server.
In this case, in the Broker or Space Monitor, you will not see any requests or any connection indication in the Web server log.
a. If the communication is done using WiFi, verify that the device is connected to the correct WiFi router.
b. Try connecting from the device browser to the Web server.
For example: http://192.168.137.1/MagicScripts
If you do not get any response, then your Web server is not configured properly or your firewall is blocking the communication. Try to enable inbound http/https communication in the firewall rules. If the problem remains, try to disable the firewall completely. If you can connect from a browser to the web server or if your application is now working, then you can enable it again and make sure that the firewall enables inbound connections on port 80/443.
To enable port 80: In the Control Panel go to Windows Firewall > Advanced settings > Inbound Rules. Open World Wide Web Services (HTTP Traffic-In) and select Enabled.
2. The client application failed to connect to the server using the connection settings defined.
In this case, you will not see any requests in the Broker Monitor but you will see the access to the server in the Web server log.
a. Check that the execution.properties file is in ANSI format.
b. Check that all the attributes in the execution.properties file have the correct value (case sensitive).
c. If the settings.properties file contains a URL attribute with reference to an external execution file, check that:
* The external file can be accessed from the mobile device. You can check it by entering the same URL value on a browser on the device.
* The external file is in ANSI format and all the attributes in this file have the correct value (case sensitive).
d. Verify that the Magic xpa RIA server is up and is running the project defined in the settings properties.
To check your file on Windows desktop, you can rename the file to execution.properties, place it in the %EngineDir%\RIAModules\Desktop folder and run the MgxpaRIA.exe application in that folder. If everything is properly defined, the RIA application should start on the Windows client.
|