By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,806 Members | 1,380 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,806 IT Pros & Developers. It's quick & easy.

Exception in AxisFault

P: 9
Hi
I am creating a web service client for HPSM IncidentManagement using the URL given by hp. The client was created successfully. I am trying to use one of the method in the proxy class. While running the code it gives the following exception:

AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<HTML><BODY>Not Authorized</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFrom Socket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(H TTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visi t(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain .java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.jav a:83)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.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)
at com.hp.schemas.SM._7.IncidentManagement_BindingStu b.retrieveIncidentKeysList(IncidentManagement_Bind ingStub.java:499)
at com.hp.schemas.SM._7.IncidentManagementProxy.retri eveIncidentKeysList(IncidentManagementProxy.java:5 6)
at com.hp.schemas.SM._7.IncClient.main(IncClient.java :25)

Is there any solution to handle this exception? If so please reply. Thanks in advance.
Apr 4 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.