[ http://issues.apache.org/jira/browse/AXIS-2215?page=comments#action_12323213 ]
Leonard O Halloran commented on AXIS-2215: ------------------------------------------ Hi Tom, I dont have SVN so Im not able to do a correct diff but I have used my own diff tool and I have added a + symbol before the new lines I added (no lines were removed) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// for (int i = 0; i < retries; i++) { try { + String url = opts.getURL(); + java.net.URL aURL = new java.net.URL(url); + String protocol = aURL.getProtocol(); + if( opts.getURL().indexOf("https") != -1 ) + { + javax.net.ServerSocketFactory sf = javax.net.ssl.SSLServerSocketFactory.getDefault(); + ss = sf.createServerSocket( port ); + } + else + { ss = new ServerSocket(port); + } break; } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Hope this is okay? Leonard > Adding SSL support to SimpleAxisServer > -------------------------------------- > > Key: AXIS-2215 > URL: http://issues.apache.org/jira/browse/AXIS-2215 > Project: Apache Axis > Type: Improvement > Components: Basic Architecture > Versions: 1.2 Beta, 1.2RC1, 1.2RC2, 1.2, 1.2RC3, 1.2.1 > Reporter: Leonard O Halloran > Priority: Trivial > Attachments: SimpleAxisServer.java > > Hi all, > SimpleAxisServer doesnt seem to offer SSL support so I made a simple update > that allows me to test my web services over SSL. Before creating a server > socket a check is carried out to identify if the specified URL includes > https. If so an SSLServerSocket is created rather than a normal ServerSocket. > I have attached an updated SimpleAxisServer class for Axis 1.2beta (I am > currently using this version but I persume it should be possible to apply the > same change to Axis 1.2.1) > Leonard -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira