Q: Can Axis be used from an application launched by Web Start?

A: Yes. You will need to sign all of the jars in your application to ensure that all code will execute with the proper security permissions. The security model enforced by Web Start prevents the application from making connections to servers other then that from which the application was downloaded.

Please note there have been reported problems with using Web Start and authenticating proxy servers. Please refer to AxisProxy for further information on using proxy servers with Axis.

There is an additional Problem: Java Web Starts sets the system properties "proxyHost" and "proxyPort" but Axis needs "http.proxyHost" and "http.proxyPort". So I use the following code in my client:

    // Java web start sets proxyHost und proxyPort; Axis needs http.proxyHost and http.proxyPort ! 
    // Should I also set https.* ? 
    if ((null == System.getProperty ("http.proxyHost")) && (null != System.getProperty ("proxyHost"))) { 
      System.setProperty ("http.proxyHost", System.getProperty ("proxyHost")); 
    } 
    if ((null == System.getProperty ("http.proxyPort")) && (null != System.getProperty ("proxyPort"))) { 
      System.setProperty ("http.proxyPort", System.getProperty ("proxyPort")); 
    } 

For additional information on Web Start and help with signing jar files see:

FrontPage/Axis/AxisWebStart (last edited 2009-09-20 22:47:48 by localhost)