ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Apache Web Services Wiki] New: FrontPage/Axis/AxisWebStart
Date Tue, 11 Jan 2005 11:09:16 GMT
   Date: 2005-01-11T03:09:16
   Editor: ToshiyukiKimura
   Wiki: Apache Web Services Wiki
   Page: FrontPage/Axis/AxisWebStart

   Importing old wiki ...

New Page:

'''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: 

 [ Unofficial Java Web Start/JNLP FAQ]

 [ Sun Java Web Start FAQ ] 

View raw message