IRS-A2A: WS Security Header is invalid

a 夏天 提交于 2019-12-06 09:57:34

问题


I keep going back and forth on using the Service References (proxy client) and creating the SOAP XML manually. I imported the WSDL files into my project as Service References. I use the objects provided by these references to create populate my request.

My Code Base is C# using Visual Studio 2013.

My Service Reference solution runs into the error:

"The WS Security Header in the message is invalid. Please review the transmission instructions outlined in Section 5 of the AIR Submission Composition and Reference Guide located at https://www.irs.gov/for-Tax-Pros/Software-Developers/Information-Returns/Affordable-Care-Act-Information-Return-AIR-Program, correct any issues, and try again."

  1. How are other folks passing Security successfully through the Web Service to the IRS?
  2. Any thoughts on how to resolve the issue I am facing by using the proxy client? the proxy client?

Update
I have abandoned the approach of using the WSDL files as Service References, and am manually creating the SOAP Request for transmittal.

来源:https://stackoverflow.com/questions/35466924/irs-a2a-ws-security-header-is-invalid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!