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.

 View Only
  • 1.  file upload using dsp

    Posted Tue December 22, 2015 02:24 PM

    hello experts,
    string is not getting uploaded data.while i am checking with save pipe line data is coming. could you please guide me.


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 2.  RE: file upload using dsp

    Posted Tue December 22, 2015 03:14 PM

    If you code the upload page properly, you should have contentStream in your handling service. since it’s a Stream object, you can’t capture it with savePipelineToFile.
    you can call steamToBytes, bytesToString, then you call savePipelineToFile to see it.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 3.  RE: file upload using dsp

    Posted Tue December 22, 2015 03:18 PM

    Yes I echo with Tong Wang and you should test it out and see the results :slight_smile:

    HTH,
    RMG


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: file upload using dsp

    Posted Wed December 23, 2015 09:09 AM

    i did upload file code like this

    sampledsp
    sample dsp
    	<input type="file" name="str">
    
    <input type="submit" name="sub">
    </form>
    %invoke upload:upload%
    %value name%
    %end invoke%
    </body>
    </html>
    

    in my developer i wrote service attached below the stream values not coming into the service
    what i have to do


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 5.  RE: file upload using dsp

    Posted Wed December 23, 2015 02:33 PM

    your form is not calling the service without action, try this:


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration