the easiest way to issue a SSL request is with a Security Provider *such as Rampart* configured to handle authentication and implementation both for requestor and service
Here is a primer to get you started http://wso2.org/library/3190 Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 21 May 2010 10:36:18 +0200 > From: [email protected] > To: [email protected] > Subject: transportsession + HTTPS = NullPointerException > > Hi, > > I'm currently having a hard time getting Axis2 1.4.1 running with HTTPS. > In my setup Axis is part of a web app deploayed in Tomcat 6.0.20. My > service scope is set to transportsession. This works fine as long as I > stick to HTTP. When I switch over to HTTPS I get the following error: > > 2010-05-17 16:47:16,388 ERROR AxisServlet:172 - > java.lang.NullPointerException > > I think it is related to AXIS2-3141. I've applied the provided patch. > Unfortunately, to no avail. The NPE seems to occur when Axis tries to > invoke the processHTTPPostRequest on line 133 in the AxisServlet class. > > I'm using a self signed certificate and added the HTTPS transportSender > setting below to my axis.xml. > > <transportSender name="https" > class="org.apache.axis2.transport.http.CommonsHTTPTransportSender"> > <parameter name="PROTOCOL">HTTP/1.1</parameter> > <parameter name="Transfer-Encoding">chunked</parameter> > </transportSender> > > I tried to use Axis 1.5.1 as well and ran into the same problem. If > somebody faced the same issue and got it working, I would appreciate if > you could point me into the right direction. > > Cheers, > Alex > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
