Hi, I am new to Cast Iron and would like to know what approach would be best suited for the below requirement:
I will be receiving an input via the http receive request which would have multiple parts of data with it - xml and normal text, separated by a content boundary.
Which is the best way to handle this? I was thinking of separating the input data based on the content boundary (using a Custom function) and then handling them individually by putting them into different variables.
Is this the best way? or could you suggest a better one?
Re: Multipart Request2013-01-04T09:03:50ZThis is the accepted answer. This is the accepted answer.Hi,
I would be interested to know the reason why such data format was chosen. Wouldn't be possible to have another component (in front of Cast Iron) perform the data separation? Doing the data parsing within Cast Iron means doing custom code. Cast Iron is very powerful when using drag and drop, and visual configuration. So you will have to maintain these custom functions and of course this will add maintenance/testing tasks.
Re: Multipart Request2013-01-07T05:47:11ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Yes, it would have been great if I could receive the data in the said format. But the requirement is such that we are not supposed to change the source system codes in any way.
And Thanks for the earlier response..