Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized while invoking the webservice  RSS feed

vinayak bhardwaj
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i am getting the following exception wile invoking my WS from wsdl2java generated stub, the WS requires basic Authentication and is working with SOAPUI.

apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized exception while invoking the webservice deployed on Tomcat 6.0.13 please find the stack trace as given below: log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService). log4j:WARN Please initialize the log4j system properly. HSYS : sysuser00 : : null : 80 : null [SO_TIMEOUT, _NTLM_DIGEST_BASIC_AUTHENTICATION_] 300000 org.apache.axis2.transport.http.HttpTransportProperties$Authenticator@fc9944 HSYS : sysuser00 org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized at org.apache.axis2.transport.http.HTTPSender.handleResponse( at org.apache.axis2.transport.http.HTTPSender.sendViaPost( at org.apache.axis2.transport.http.HTTPSender.send( at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons( at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke( at org.apache.axis2.engine.AxisEngine.send( at org.apache.axis2.description.OutInAxisOperationClient.send( at org.apache.axis2.description.OutInAxisOperationClient.executeImpl( at org.apache.axis2.client.OperationClient.execute( at com.test.CmPersonUpServiceStub.cmPersonUp( at com.test.CmPersonUpServiceTest.testcmPersonUp( at com.test.CmPersonUpServiceTest.main( ------------------------------------------------------------------------------------------------------------------ `please find my test invocation class as below :

Please provide your assistance in this matter.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!