Hi
I am creating a web service client for HPSM IncidentManagem ent 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)Unauthoriz ed
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<HTML>< ;BODY>Not Authorized</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode: 401
(401)Unauthoriz ed
at org.apache.axis .transport.http .HTTPSender.rea dFromSocket(HTT PSender.java:74 4)
at org.apache.axis .transport.http .HTTPSender.inv oke(HTTPSender. java:144)
at org.apache.axis .strategies.Inv ocationStrategy .visit(Invocati onStrategy.java :32)
at org.apache.axis .SimpleChain.do Visiting(Simple Chain.java:118)
at org.apache.axis .SimpleChain.in voke(SimpleChai n.java:83)
at org.apache.axis .client.AxisCli ent.invoke(Axis Client.java:165 )
at org.apache.axis .client.Call.in vokeEngine(Call .java:2784)
at org.apache.axis .client.Call.in voke(Call.java: 2767)
at org.apache.axis .client.Call.in voke(Call.java: 2443)
at org.apache.axis .client.Call.in voke(Call.java: 2366)
at org.apache.axis .client.Call.in voke(Call.java: 1812)
at com.hp.schemas. SM._7.IncidentM anagement_Bindi ngStub.retrieve IncidentKeysLis t(IncidentManag ement_BindingSt ub.java:499)
at com.hp.schemas. SM._7.IncidentM anagementProxy. retrieveInciden tKeysList(Incid entManagementPr oxy.java:56)
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.
I am creating a web service client for HPSM IncidentManagem ent 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)Unauthoriz ed
faultActor:
faultNode:
faultDetail:
{}:return code: 401
<HTML>< ;BODY>Not Authorized</BODY></HTML>
{http://xml.apache.org/axis/}HttpErrorCode: 401
(401)Unauthoriz ed
at org.apache.axis .transport.http .HTTPSender.rea dFromSocket(HTT PSender.java:74 4)
at org.apache.axis .transport.http .HTTPSender.inv oke(HTTPSender. java:144)
at org.apache.axis .strategies.Inv ocationStrategy .visit(Invocati onStrategy.java :32)
at org.apache.axis .SimpleChain.do Visiting(Simple Chain.java:118)
at org.apache.axis .SimpleChain.in voke(SimpleChai n.java:83)
at org.apache.axis .client.AxisCli ent.invoke(Axis Client.java:165 )
at org.apache.axis .client.Call.in vokeEngine(Call .java:2784)
at org.apache.axis .client.Call.in voke(Call.java: 2767)
at org.apache.axis .client.Call.in voke(Call.java: 2443)
at org.apache.axis .client.Call.in voke(Call.java: 2366)
at org.apache.axis .client.Call.in voke(Call.java: 1812)
at com.hp.schemas. SM._7.IncidentM anagement_Bindi ngStub.retrieve IncidentKeysLis t(IncidentManag ement_BindingSt ub.java:499)
at com.hp.schemas. SM._7.IncidentM anagementProxy. retrieveInciden tKeysList(Incid entManagementPr oxy.java:56)
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.