cancel
Showing results for 
Search instead for 
Did you mean: 

HCI case- SOAP adapter to HTTP adapter

former_member187171
Participant
0 Kudos

Dear Experts,

Here I have a requirement which post attachment from SOAP adapter to HTTP adapter in HCI.

There are two important points we need to condsider, first, in SOAP adapter side, the attachment will be analyzed to filecontent which is BinaryObject

Second, in HTTP adapter side, I must translate the filecontect as http request.

We test the rest service Post document via shell script like " curl -H "Authorization: Basic QU4wMjA************MTIz" \ -H "Content-Type: multipart/mixed" \ -X POST \ -F "comment=This is test by xiaobing" \ -F "file=@C:\HCI\TestDocumentUpdates2.pdf; type=application/pdf" \ "http://svclq24.lab1.ariba.com/Network/openapi/v1/FlowExtension/test_oc_with_conds_jan11/event/000000..." \     -i -v"

However I have no idea how to implement this in HCI, could you give me some suggestion please?

Thanks a lot.

Best wishes

Misher

Accepted Solutions (0)

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Hi Misher

Unfortunately, I haven't come across any documentation or articles that deals with attachment handling in HCI

Regards

Eng Swee

former_member187171
Participant
0 Kudos

Hi Swee Yeoh,

Thanks for your reply.  I will try to solve this and publish my solution.

I have read several articles published by you in SCN, they are really very helpful.

Thanks for your contribution.

Best wishes

Misher