I am calling webservices developed in .net though axis2(ver 1.4) generated
client stubs (xml beans binding, asynchronous) with ssl enables security.
I have written the following code in client program :-
System.setProperty("javax.net.ssl.keyStore",
"/data/PkiCertificate/tomcatkeystore.jks");
System.setProperty ("javax.net.ssl.keyStorePassword", "changeit");
System.setProperty("javax.net.ssl.trustStore",
"/data/PkiCertificate/clientstore.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
* tomcatkeystore.jks contains my private key, my client certificate and web
services client certificate.
* clientstore.jks contains web services client certificate.
I am getting folowing error on calling this web services:-
org.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at
org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:441)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:595)
Plz guide us to resolve these problems.
Thanks,
Aseem
--
View this message in context:
http://www.nabble.com/Transport-error%3A-403-Error%3A-Forbidden-tp21156828p21156828.html
Sent from the Axis - User mailing list archive at Nabble.com.