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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  submitting flatfile via http

    Posted 03/07/15 07:48 AM

    Hi All,

    I tried to submit a flatfile using pub.client:http. I have set the following properties.

    url: url of the service which i am going to invoke
    method: post
    data.sting: flatfile content
    header.Content-Type: application/x-wmflatfile
    auth.user: username
    auth.pass: password

    the invoked service has the input ffdata object and the service is invoked properly since i am getting logs. My problem is i have not been receiving the ffdata.

    Could anyone help in this issue? i am beginner in webMethods i have followed whatever given in flatfile documentation.

    Thanks in advance
    Venkat


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: submitting flatfile via http

    Posted 03/09/15 03:47 PM

    if ffdata exists, you can call: pub.mime:createMimeData to parse it as Mime data, you can try to process mimeData/part/content as stream (converting it to bytes if you want to handle it as bytes, or further to String)
    HTH,


    #Integration-Server-and-ESB
    #webMethods