You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2005/01/11 12:09:16 UTC

[Apache Web Services Wiki] New: FrontPage/Axis/AxisWebStart

   Date: 2005-01-11T03:09:16
   Editor: ToshiyukiKimura
   Wiki: Apache Web Services Wiki
   Page: FrontPage/Axis/AxisWebStart
   URL: http://wiki.apache.org/ws/FrontPage/Axis/AxisWebStart

   Importing old wiki ...

New Page:

##language:en
'''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: 

 [http://www.vamphq.com/jwsfaq.html Unofficial Java Web Start/JNLP FAQ]

 [http://java.sun.com/products/javawebstart/faq.html Sun Java Web Start FAQ ]