I am trying to post MIME Invoice CXML Message to Ariba through http post as MIME Stream but i am always getting the error
“The document could not be parsed: Content is not allowed in prolog. (line 1, column 1) [ANCLS-681544]”
Please find below the MIME Message i am trying to send.
Content-Disposition: form-data; name=“randomValue1”
CXML CopyRequest Message here…
Content-Disposition: form-data; name=“fileContent”; filename=“MIMEPart2”
CXML invoice message here
The following are the values i am passing to http input parameters
method = post
loadas = stream
input/mimeStream = mimeStream of the above mentioned message
auth/type = Basic
headers/Content-Type = multipart/formdata;–=_Part_27_32492751.1233733405413
Please find attached the encoded MIME invoice message i am tryting to post to Ariba,The response message i am getting from Ariba and the package which contains the webMethods code.
Please let me know if any one has posted MIME Stream through http post successfully and how to resolve this.