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.  B2B Utils ConstructSubmitInput

    Posted Fri April 04, 2025 11:42 AM

    Good morning,

    I need to transfer a CSV Flat file message from webmethod.io to B2B.

    I'm trying to use the B2B utils connector but the message is not transfer on the B2B module even if I haven't any error.

    The standard documentation doesn't provide any example, 

    please, someone can share an example flow to push a csv flat file message frin wMio to B2B?

    Thank you for your help

    Best Regards

    Simone



    ------------------------------
    Simone Pasqualetti
    ------------------------------


  • 2.  RE: B2B Utils ConstructSubmitInput

    Posted Mon April 07, 2025 01:59 AM
    Edited by Vikash Sharma Tue April 08, 2025 12:29 AM

    Hi Simone,

    When we are transferring the file from webMethods.io Integrtaion --> b2B.

    We need couple of artefacts in place to submit it to B2B.

    1. Document type - in your case it is CSV file so it means that flat file is required on B2B side.
    2. Processing rule: When submit the doc from Integration your B2B rule should get triggred.
    3. While submitting the request to b2B from WMIO, you need to setup the content type. in your case it should be application/x-wmflatfile

    In your case is it failing while submitting from WMIO or even though it has been submitted from WIO but you cant see it on B2B?



    ------------------------------
    Vikash Sharma
    ------------------------------



  • 3.  RE: B2B Utils ConstructSubmitInput

    Posted Mon April 07, 2025 03:26 AM

    Hi Vikash,

    The message has submitted from WMIO to B2B, I haven't received any error, howevere the message is not visible in the B2B transactions list.

    I'm attaching some flow screenshot, I have set up a cXML type because the flat file type is not in the list (test2.jpg), the content type in cXML branch is text/plain (test3.jpg), sender/receiver are correctly assigned using the DUNS ID type.

    Thank you

    Regards



    ------------------------------
    Simone Pasqualetti
    ------------------------------



  • 4.  RE: B2B Utils ConstructSubmitInput

    Posted Mon April 07, 2025 06:40 AM
      |   view attached

    Hi Simone,

    Why are you using constructsubmitinput?

    Can you try submit operation from the drop down list.

    Attached the sample flow service that will submit XML message to b2b using flow service.

    Regards

    Vikash Sharma



    ------------------------------
    Vikash Sharma
    ------------------------------

    Attachment(s)

    zip
    SubmitMessageToB2B.zip   8 KB 1 version


  • 5.  RE: B2B Utils ConstructSubmitInput

    Posted Mon April 07, 2025 06:56 AM

    Hi Vikash,

    I'm using the constructsubmitinput because I need to submit a csv/txt file,

    I haven't a PO message in xml format.

    It is not clear to me how I can push a csv or txt message from WMIO to B2B,

    I have many customers working with csv/txt file (not statndard EDI messsage)

    that I need to manage using the B2B module.

    Any suggestions to mange this scenario are welcome

    Thank you

    Regards



    ------------------------------
    Simone Pasqualetti
    ------------------------------



  • 6.  RE: B2B Utils ConstructSubmitInput

    Posted Mon April 07, 2025 07:45 AM

    Hi Simone,

    Your usecase looks very straight forward .

    Give me some time will try at my end and will share the asets to achieve same hepefully in a day or two.

    Regards

    Vikash Sharma



    ------------------------------
    Vikash Sharma
    ------------------------------



  • 7.  RE: B2B Utils ConstructSubmitInput

    Posted Tue April 08, 2025 12:29 AM
    Edited by Vikash Sharma Tue April 08, 2025 12:33 AM

    Hi Simone,

    Sharing the sample flow service where i have used  the submit operation to send the flat file to B2B.

    Attaching  the  flow service zip and flat file doc i used in the sample (sample.csv file).

    Let me know if this helps.

    Regards

    Vikash Sharma



    ------------------------------
    Vikash Sharma
    ------------------------------

    Attachment(s)

    zip
    SubmitFFMessageToB2B.zip   7 KB 1 version
    csv
    samplefile.csv   88 B 1 version


  • 8.  RE: B2B Utils ConstructSubmitInput

    Posted Thu April 10, 2025 10:54 AM

    Hi Vikash ,

    the sample works fine, you help me to solve my problem.

    thank you very much for your support

    best regards

    Simone



    ------------------------------
    Simone Pasqualetti
    ------------------------------



  • 9.  RE: B2B Utils ConstructSubmitInput

    Posted Thu April 10, 2025 11:32 AM

    Welcome Simone



    ------------------------------
    Vikash Sharma
    ------------------------------