I have been having a problem getting my client application to work
against a server that uses an SSL connector and self-signed
certificates.

I get this error raised whenever I connect to the SSL port, the standard
port works fine.

Caught org.apache.axis2.AxisFault: Transport out has not been set
org.apache.axis2.AxisFault: Transport out has not been set
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383)
    at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:374)
    ...

I have used the method outlined in the httpclient SSL guide to overcome
the problem of the self-signed certificates raising a security error.
This registering a new protocol and creating a customised socketFactory
to support this protocol. This means I send my requests to
"myssl://localhost/" instead of "https://localhost:8443/";.

My thought is that I should create a transportSender for the new
protocol but I am not clear from the documentation how to do this,
either with an axis2.xml file or progammatically (which I would prefer).
I have tried adding my own minimal axis2.xml file with just a
transportSender in, but it does not seem to work. I am not sure if my
application is loading the axis2.xml file.

Can anybody point me in the right direction? I have created a test case
based on the StockQuoteService sample. I have attached it. Once opened
type "ant help" for more information.

I am using axis2 1.3

Steve Hindmarch

BT Design - iBridge Development

Attachment: axisSSLProblemTest.tgz
Description: axisSSLProblemTest.tgz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to