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
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:

faultCode: {}HTTP
faultString: (401)Unauthorized
{}:return code: 401
<HTML><BODY>Not Authorized</BODY></HTML>

at org.apache.axis.transport.http.HTTPSender.readFrom Socket(
at org.apache.axis.transport.http.HTTPSender.invoke(H
at org.apache.axis.strategies.InvocationStrategy.visi t(
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
at org.apache.axis.client.Call.invokeEngine( :2784)
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at com.hp.schemas.SM._7.IncidentManagement_BindingStu b.retrieveIncidentKeysList(IncidentManagement_Bind
at com.hp.schemas.SM._7.IncidentManagementProxy.retri eveIncidentKeysList( 6)
at com.hp.schemas.SM._7.IncClient.main( :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.