Two Laptop Bag
The moose likes Web Services and the fly likes axis2.AxisFault: Transport error: 403 Error: Forbidden Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "axis2.AxisFault: Transport error: 403 Error: Forbidden" Watch "axis2.AxisFault: Transport error: 403 Error: Forbidden" New topic
Author

axis2.AxisFault: Transport error: 403 Error: Forbidden

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
Trying to consume my first Web Service using Axis2. However Im getting the following error AxisFault: Transport error: 403 Error: Forbidden. My code is the following just wondering if I missed something



And I have also added the following in axis2.xml in the <transportSender name="https"


Set the key via the keytool but not even sure if that was done correctly.

Thank you for your time
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1121
Hi John,

Is it possible to try and consume the web service via http? To simplify the situation...

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Anish Pyne
Greenhorn

Joined: Aug 23, 2010
Posts: 14
Anybody found a solution for this. I am facing same issue, the webservice works fine with http protocol. Also using Axis 1.4 it works fine with https, the moment i use Axis 2 generated stubs the issue crops up.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: axis2.AxisFault: Transport error: 403 Error: Forbidden
 
Similar Threads
Invoking HTTPS webservice
org.apache.axis2.AxisFault exception - Operation not Found
org.apache.axis2.AxisFault exception - Operation not Found
Dynamically setting the username/password with Rampart.
org.apache.axis2.AxisFault: Transport error 500 . Error Message is ..