Skip to Content
0
Former Member
Mar 24, 2010 at 05:46 PM

CR2008: Connecting to XML and Web Services data through a proxy

789 Views

If you are using the Crystal Reports 2008 XML & Web Services driver to connect either or HTTP or to a Web Service that is deployed outside your network and you have a proxy in place, you may have connection issues due to the proxy.

This can be resolved with a registry entry that specifies your proxy and the logon information required to connect to it.

A registry string value named JVMOptions needs to be created in one of the following locations depending on your usage of Crystal Reports:

- For personal Crystal Reports use, create the string value in your HKEY_CURRENT_USER hive here:

HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports

- For common or server usage in BusinessObjects Enterprise, Edge or Crystal Reports Server, create the string value here:

64-bit Windows:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\Crystal Reports

32-bit Windows:

HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports

The JVMOptions string should have the following information:

-Dhttp.proxyHost=proxy_name;-Dhttp.proxyPort=port;-Dhttp.proxyUser=user_name;-Dhttp.proxyPassword=password

Replace proxy_name, port, user_name and password with the appropriate information for your proxy server. Please contact your local IT department for more information.

If you want a test data source to try, you can create a report using the Crystal Reports 2008 XML & Web Services driver using HTTP to connect to the following sample data set:

http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml

http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xsd

This is the Customer data set for the Crystal Reports 2008 sample reports. If you can load this data set into a report, that will confirm that you have your proxy configuration set correctly.