• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Axis Fault Exception: Transport error: 302 Error: Moved Temporarily - AXIS 2 Client  RSS feed

 
Bill Moore
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the following to construct the client stub: myWebServiceEndpointImplServiceStub = new MyWebServiceEndpointImplServiceStub();
The call works with no errors.

But using the following to construct the client stub: myWebServiceEndpointImplServiceStub = new MyWebServiceEndpointImplServiceStub("http://localhost:8080/myWS/");
The Axis Fault Exception: Transport error: 302 Error: Moved Temporarily is thrown.

I am using JBOSS AS 7 as the web container and have not restarted it.

Can anyone help me resolve this issue?

Found the cause - the url was actually "http://localhost:8080/myWS", "http://localhost:8080/myWS/" - note the last slash was missing
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!