简体   繁体   English

如何使用Soap Web服务获取Pan号码详细信息

[英]how to get pan number details using soap web services

I am using https://incometaxindiaefiling.gov.in/e-FilingWS/ditws/PanWS.wsdl this wsdl for getting pan number details. 我正在使用https://incometaxindiaefiling.gov.in/e-FilingWS/ditws/PanWS.wsdl这个wsdl来获取Pan号码的详细信息。

i am getting 我正进入(状态

run:
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: You are not authorized to access this request, Please contact DIT administrator
    at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
    at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
    at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
    at com.sun.proxy.$Proxy27.getPanInfo(Unknown Source)
    at text.PanDetails.main(PanDetails.java:28)
Java Result: 1

this error 这个错误

Please tell me any solution for this problems 请告诉我有关此问题的任何解决方案

The credentials you are using are not valid as the error is saying clearly. 您使用的凭据无效,因为该错误说明清楚。 Try to login with those credentials and check whether they works or not. 尝试使用这些凭据登录,然后检查它们是否有效。

Their Web Services User Manual says 他们的网络服务用户手册

Retrieve PAN Information - This web service can be used to retrieve pan information for the PAN mentioned. 检索PAN信息-此Web服务可用于检索所提到的PAN的潘信息。 This is applicable for External Agency users. 这适用于外部代理商用户。

The user id and password are required for authenticating the user. 需要使用用户ID和密码来验证用户。 Once authenticated, then the user will be authorised to invoke the Web service. 身份验证之后,将授权用户调用Web服务。

where 哪里

  • userName - Valid e-Filing User ID userName-有效的电子归档用户ID
  • password - Valid e-Filing password for the User 密码-用户的有效电子归档密码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM