web-servicesapache-axiswebservice-clienthttp-status-code-403transport

rg.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden


I am trying to access a webservices over https, I have the ssl certificates in place. However when I send the webservice request I am getting:

threw exceptionorg.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:371)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
 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.executeImpl(OutInAxisOperation.java:228)
 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

Snooping on the wire show that the client is trying to connect to the server. I am stumped as to what is causing this, any help would be much appreciated.

Thanks


Solution

  • As far as I can work out this was due to network errors. The client was configured to do one-way ssl only. Whereas the server was configured for two-way ssl.