Using an HTTP Proxy Server
AppStudio supports using third-party HTTP proxy servers such as Fiddler or Paros. HTTP proxy servers let you view all the HTTP traffic coming and going from your machine. This is useful for debugging plug-ins that use web services because you can view the communication between the device or simulator and the back-end data source.
HTTP proxies work with plug-ins that use HTTP-based web services, such as the WSDL, WCF, and REST plug-ins. It does not work with plug-ins like SQL Server.
When configuring the proxy, be sure to allow remote computers to connect to the proxy. This lets you view the traffic between your mobile device (including simulators) and AppStudio server. Also, be sure to enable HTTPS traffic if your app uses secure connections to the web services.
To use a proxy with AppStudio:
- Open the Data Source Manager.
- Under Connection Settings, select the Proxy Settings tab:
If you do not see a Proxy Settings tab, then your plug-in does not support proxy servers.
Enter the following information in the fields:
Field Description Proxy URL (Required) Enter the proxy URL. This will typically be your machine name and a unique port such as 8888. This port must match the port that your proxy server is listening on and must not be used by any other services. Username (Optional) Enter your user name if the proxy server requires one. Password (Optional) Enter your password if the proxy server requires one.
Before you run your application on a device or in a simulator, be sure to reload the config if you just added the proxy information.
If the proxy is configured correctly, then you should be able to view outbound requests and inbound responses between your machine and the remote data source.