IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Receiving multipart/form-data

  • 1.  Receiving multipart/form-data

    Posted Tue January 13, 2009 06:13 PM

    HI Guys,
    I have a requirement to receive a document with a couple of fields through HTTP POST.
    My Partner will be doing a HHT POST to the URL i provided.
    He is posting a documet with a couple of fields.
    I have built a service to receive the data and i give the service Anonymous access…
    The code used by my partner to post the data is as followes:

    <HTML

    Allowed Attachments: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,

    Problem:
    IF he defines encType as multipart/form-data then i am not receiving any data to flow service.
    IF he not defining encType i am gettign only the fields but not the Document.
    Can soem one help me in identifying and fixing the issue.


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 2.  RE: Receiving multipart/form-data

    Posted Tue February 03, 2009 06:55 AM

    I can only doubt whether the multipart content handlers are loaded or not on your IS. I tested the above html and I received all the data perfectly into my IS. If you do not get the parsed parts of the message then you should atleast get a contentStream. Save the pipeline and inspect it. May be this thread can help you: Parse multiparts

    Cheers
    Guna


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB