• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis Error-(403)Forbidden  RSS feed

Angelo Bonaparte
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to access a web service developed by another company using https. I wrote a simple java client but when I run it I get the following error:

An exception occured.... (403)Forbidden
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (403)Forbidden
{}:return code: 403

at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)

If the exact same code is ran by the company providing the web services it works. they don't have any errors or issues. I was wondering if anybody has any idea what the problem could be.


[ February 08, 2007: Message edited by: Angelo Bonaparte ]
Ulf Dittmer
Posts: 42970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a question for the company running the WS. Their code returns a 403 response, so they should be able to tell you why that's happening in this case. Maybe the code looks at the IP address and doesn't like yours, maybe it doesn't like your SSL certificate, maybe it's something else entirely.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!