Differences between revisions 2 and 3
Revision 2 as of 2005-01-11 11:10:25
Size: 1615
Comment: Updating a link
Revision 3 as of 2009-09-20 22:47:48
Size: 1621
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Please note there have been reported problems with using Web Start and authenticating proxy servers. Please refer to [http://wiki.apache.org/ws/FrontPage/Axis/AxisProxy AxisProxy] for further information on using proxy servers with Axis. Please note there have been reported problems with using Web Start and authenticating proxy servers. Please refer to [[http://wiki.apache.org/ws/FrontPage/Axis/AxisProxy|AxisProxy]] for further information on using proxy servers with Axis.
Line 23: Line 23:
 [http://www.vamphq.com/jwsfaq.html Unofficial Java Web Start/JNLP FAQ]  [[http://www.vamphq.com/jwsfaq.html|Unofficial Java Web Start/JNLP FAQ]]
Line 25: Line 25:
 [http://java.sun.com/products/javawebstart/faq.html Sun Java Web Start FAQ ]  [[http://java.sun.com/products/javawebstart/faq.html|Sun Java Web Start FAQ ]]

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)