HTTP POST MIME Stream issue

HI All,
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.

----=_Part_27_32492751.1233733405413
content-type: text/xml
Content-ID: 1233733405413_747785793@10.10.62.199
Content-Disposition: form-data; name=“randomValue1”

CXML CopyRequest Message here…

----=_Part_27_32492751.1233733405413
content-type: text/xml
Content-ID: 1233733405413_747785793@10.10.62.199
Content-Disposition: form-data; name=“fileContent”; filename=“MIMEPart2”

CXML invoice message here

----=_Part_27_32492751.1233733405413–

The following are the values i am passing to http input parameters

url = [url]https://service.ariba.com/service/transaction/cxml.asp[/url]

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.

Thanks,
Joh
AribaTest.zip (9.26 KB)
MIMEInvoiceMsg_webMethodsSentToAriba.xml (5.41 KB)
responseMessageFromAriba.xml (412 Bytes)

Hi,
while debugging using tcpmon i found that webMethods is messing the data .I observed that the boundary value that is mentioned in the http headers is added twice and the content type = multipart/form-data is also missing

Please find below the message i captured in tcpmon sent by webMethods

POST / HTTP/1.0
User-Agent: Mozilla/4.0 [en] (WinNT; I)
Accept: image/gif, /
Host: 10.128.120.25:8080
Content-type: text/xml
–=_Part_27_32492751.1233733405413: --=_Part_27_32492751.1233733405413
content-type: text/xml
Content-ID: 1233733405413_747785793@10.10.62.199
Content-Disposition: form-data; name=“randomValue1”

CXML CopyRequest Message here…

----=_Part_27_32492751.1233733405413
content-type: text/xml
Content-ID: 1233733405413_747785793@10.10.62.199
Content-Disposition: form-data; name=“fileContent”; filename=“MIMEPart2”

CXML invoice message here

----=_Part_27_32492751.1233733405413–

seems like this is a bug in http post in webMethods.

we are using webMethods 6.5 with service pack 3 on AIX

Please let me know how to resolve this and make a sucessful post through http post

Thanks,
Joh