Invalid WS Security Header - IRS ACA SOAP Request

前端 未结 4 1894
借酒劲吻你
借酒劲吻你 2021-02-04 00:33

I\'m in the process of submitting a RequestSubmissionStatusDetail request from the IRS.

Here\'s my problem. When submitting the following document to the IR

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 00:55

    I was able to get past the TPE1122 error with the XML below (with key- and TCC-related parts redacted). I'm not sure about how you are actually signing things (I am using the SoapUI tool rather than programmatic signing), but in my case, I think the main issue had to do with the short names for namespaces (e.g. oas, wsu, etc.). I think they have to exactly match the IRS's expectations. Also, I see that you use the wsa:Action tag whereas I do not, although that probably does not affect the WS-Security header.

    POST https://la.www4.irs.gov/airp/aca/a2a/1095BC_Status_Request_AATS2016 HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "RequestSubmissionStatusDetail"
    Content-Length: 6088
    Host: la.www4.irs.gov
    Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
    
    
    
        
            
                
                    
                    
                    
                        
                            
                                
                            
                        
                        
                        mvcVAijgkdnRTsyynwCzUHX39VM=
                    
                    
                        
                            
                                
                            
                        
                        
                        5b2SAtep+3PvQj7hZnIGceu0RNg=
                    
                    
                        
                            
                                
                            
                        
                        
                        iO0oIkBURxyOUPhrJ/j5YPeRLbQ=
                    
                
                REDACTED
                
                    
                        REDACTED
                    
                
            
            
                2016-01-28T01:07:12Z
                2016-01-28T01:07:13Z
            
        
        
            5c953d6e-fb77-483f-89ee-5b824550d703:SYS12:RDCTD::T
            2016-01-27T13:46:00Z
        
    
    
        
            
                1094C-00-00000000
            
        
    
    

提交回复
热议问题