IRS ACA SOAP boundary error

后端 未结 1 383
青春惊慌失措
青春惊慌失措 2020-12-22 04:05

I am posting a GZip compressed SOAP request to IRS ACA webservice using httpClient. Below you will find the SOAP request. I get boundary error quoted below. Can anyone point

相关标签:
1条回答
  • 2020-12-22 04:37

    Sorry, I did not see your comments on the other post.

    Unfortunately, I don't recall what exactly I had to do to fix the issue I reported in this post. I've had to go through a lot of iterations of code trying different things in order to get to where I am, and I'm still somewhere in the last half of the tunnel that is this project.

    However, in reviewing what you posted and comparing against what I (currently) have working (with errors, but not the above error), try removing the two extra dash characters from beginning of your boundary definition.

    You defined your MIME boundary as --------------030003010806000401010306 but the references in your parts have two extra dashes at the beginning of your reference.

    Here's what I have in my current "working" code.

    • I have my boundary set to something simple: MIME_boundary.
    • In the MIME Header prior to the SOAP Envelope root element AND prior to the start of the FormData file, it says --MIME_boundary.
    • Then, at the bottom of the request, it says --MIME_boundary--.
    0 讨论(0)
提交回复
热议问题