Dan,
I need you help building mime message, with ref to below posting in past message posted by you to [url=“wmusers.com”]wmusers.com
Please forward the sample code, I’ve tried my best to work on it but no gain.
please explain below,
Rupinder, I think your debugging has helped us all reach a better level of understanding about using multipart MIME messages between Integration Server and a Web server.
My final solution was to write a service that builds the multipart message “manually”. The service is called “buildMultipartMessage” and it accepts a few inputs:
boundary – a random string used for boundarys
name – used for the “name” field
content-type – used to designate the content type (i.e. text/xml, application/pdf)
string – used for the body of the message between boundaries. This can be a string or a string-representation of a binary object.
Each time that I want to add a new part to my multipart form-data, I will call this service and pass it the proper parameters – being careful to send the same boundary – and use pub.string:concat to add them together.
When all parts have been added and my string is complete, I map that to the string element in the pub.client:http Service In variable. I also set the headers variable to the following:
Content-type=multipart/form-data;boundary=“%boundary%”
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB