webMethods

webMethods

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.

 View Only
  • 1.  How to retrieve attachment data from HTTPS data post?

    Posted Tue June 16, 2009 09:25 PM

    hi all,

    one of our partner is posting an X12 data with a standard https header directly to our custom flow service that we have provided to them, and we only see the following parameters in the pipeline. we do not see the data any where in any parameter. what we see is that it has a word “attachment” in the parameter called Content-Disposition.

    my question is how do we retrieve the data? is there any inbuilt webMethods service that we can use? please let me know.

    Via 1.1 MY
    contentlength 628
    Date Tue 09, Jun 2009 21:59:28 GMT
    contentType application/EDI-X12; name=997_test.txt
    message-ID <1244584768347.166300@svamn14glbs-7k_te>
    From partner email-ID
    Subject 01045426558FTD;128004171844
    MIME-Version 1.0
    Content_Transfer-Encoding binary
    Content-Disposition attachment; filename=JM_997_test.txt
    EDIINT-Features CEM
    X-Cyclone-To 01045426558FTD
    X-Cyclone-From 128004171844
    protocol http

    Thanks in advance.

    -rcd47


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


  • 2.  RE: How to retrieve attachment data from HTTPS data post?

    Posted Wed June 17, 2009 06:29 AM

    Why you want to use a custom service to receive edi content type data, when you have out of the box package and services to handle inbound edi document?

    wm.EDIINT:receive service will take care of receiving, identifying and initial processing of edi doc, which than creates the bizdoc envelope, you can than invoke your custom service, for further processing as per your needs.

    Please refer to webMethods_EDIINT_Module_User’s_Guide_6_5_2.pdf user guide, for a descriptive explanation.


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


  • 3.  RE: How to retrieve attachment data from HTTPS data post?

    Posted Wed June 17, 2009 04:42 PM

    the reason for using the custom service is that we first write the data to a file system and then a public queue picks up the file and then submits the data to TN.

    will try your suggestion and let you know.

    thank you for replying to my request.

    :slight_smile:

    -rcd47


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


  • 4.  RE: How to retrieve attachment data from HTTPS data post?

    Posted Wed June 17, 2009 11:35 PM

    the problem is that we are unable to store the stream in a pipeline and we also do not know in which object the data stream is coming in.

    anyone can you please shed a light on this??


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


  • 5.  RE: How to retrieve attachment data from HTTPS data post?

    Posted Mon June 22, 2009 05:11 PM

    we wrote a java service which lists out all the incoming variables through https post… by which we could find out the variable name in which data is streamed…

    we then converted it into string and wrote to the file…

    thank you all…

    -rcd47


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