You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Carl Gustaf Hjelt Liebe <gu...@gmail.com> on 2006/11/06 22:33:09 UTC

https request

Hello,

I have a question regarding the usage of https in Axis2. Where would I ask
this question?

I have created java classes with WSDL2JAVA tool from the wsdl file I have.
Now the
webservice runs ssl. It works fine if I use Sun jvm. I just add the
necessary providers
that I need in the java.security file. Also I import a keystore with the WS
provider's
certificate. I need this to run from Lotus Notes, but it won't work because
it needs
to use com.ibm.net.ssl.www.protocol.https.t class
instead of con.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionthat
I think Axis2 uses. Maybe Axis2 barely supports https.

Would I suggest to add Lotus Notes (IBM SDK) support under your issue
tracker,
or maybe I am going to apply for developer status and add this functionality
myself?

Regards
Carl

Re: https request

Posted by Carl Gustaf Hjelt Liebe <gu...@gmail.com>.
Sure,

It fails when trying to connect to a socket. I know it works when using the
IBM com.ibm.net.ssl.www.protocol.https.t class from the Notes JVM.

org.apache.axis2.AxisFault: Socket is not connected; nested exception is:
    java.net.SocketException: Socket is not connected; nested exception is:
    org.apache.axis2.AxisFault: Socket is not connected; nested exception
is:
    java.net.SocketException: Socket is not connected
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
CommonsHTTPTransportSender.java:223)
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
    at org.apache.axis2.description.OutInAxisOperationClient.send(
OutInAxisOperation.java:328)
    at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:279)
    at mypackage.IntegrationStub.getCase(IntegrationStub.java:507)
    at mypackage.webservices.IntegrationTest.testHentSag(
IntegrationTest.java:175)
    at mypackage.webservices.tester.ServiceTester.testhentSag
(XXclassjava:170)
    at mypackage.webservices.tester.ServiceTester.main(XXclass.java:259)
Caused by: org.apache.axis2.AxisFault: Socket is not connected; nested
exception is:
    java.net.SocketException: Socket is not connected
    at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons
(CommonsHTTPTransportSender.java:305)
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
CommonsHTTPTransportSender.java:207)
    ... 7 more
Caused by: java.net.SocketException: Socket is not connected
    at java.net.Socket.getInputStream(Socket.java:726)
    at com.ibm.jsse.bs.getInputStream(Unknown Source)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java
:744)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
HttpMethodDirector.java:386)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:346)
    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(
AbstractHTTPSender.java:530)
    at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(
SOAPOverHTTPSender.java:92)
    at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons
(CommonsHTTPTransportSender.java:299)
    ... 8 more
null

Carl

On 11/7/06, Davanum Srinivas <da...@gmail.com> wrote:
>
> Please log a bug report and post the stack trace.
>
> -- dims
>
> On 11/6/06, Carl Gustaf Hjelt Liebe <gu...@gmail.com> wrote:
> > Hello,
> >
> > I have a question regarding the usage of https in Axis2. Where would I
> ask
> > this question?
> >
> > I have created java classes with WSDL2JAVA tool from the wsdl file I
> have.
> > Now the
> > webservice runs ssl. It works fine if I use Sun jvm. I just add the
> > necessary providers
> > that I need in the java.security file. Also I import a keystore with the
> WS
> > provider's
> > certificate. I need this to run from Lotus Notes, but it won't work
> because
> > it needs
> > to use com.ibm.net.ssl.www.protocol.https.t class
> > instead of
> > con.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection
> > that
> > I think Axis2 uses. Maybe Axis2 barely supports https.
> >
> > Would I suggest to add Lotus Notes (IBM SDK) support under your issue
> > tracker,
> > or maybe I am going to apply for developer status and add this
> functionality
> > myself?
> >
> > Regards
> > Carl
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Re: https request

Posted by Davanum Srinivas <da...@gmail.com>.
Please log a bug report and post the stack trace.

-- dims

On 11/6/06, Carl Gustaf Hjelt Liebe <gu...@gmail.com> wrote:
> Hello,
>
> I have a question regarding the usage of https in Axis2. Where would I ask
> this question?
>
> I have created java classes with WSDL2JAVA tool from the wsdl file I have.
> Now the
> webservice runs ssl. It works fine if I use Sun jvm. I just add the
> necessary providers
> that I need in the java.security file. Also I import a keystore with the WS
> provider's
> certificate. I need this to run from Lotus Notes, but it won't work because
> it needs
> to use com.ibm.net.ssl.www.protocol.https.t class
> instead of
> con.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection
> that
> I think Axis2 uses. Maybe Axis2 barely supports https.
>
> Would I suggest to add Lotus Notes (IBM SDK) support under your issue
> tracker,
> or maybe I am going to apply for developer status and add this functionality
> myself?
>
> Regards
> Carl
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org