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.  Upload image file to IS

    Posted 06/23/04 04:22 PM

    Hello,

    I want to uplode a file to IS server in order to save it to a hard-drive, I m using a HTML-form to send the file info:

    <FORM METHOD=GET ENCTYPE=“multipart/form-data” ACTION=“http://server:8888/invoke/test/putImage”>
    File to upload: <INPUT TYPE=FILE NAME=“Image”><BR>
    name: <INPUT TYPE=TEXT NAME=“Name”><BR>
    <INPUT TYPE=SUBMIT VALUE=“Submit”>
    </FORM>

    On the putImage service on the IS I have the 2 inputs, being the Image input of the type Object. My question is: of what type is this input? a byte? I couldnt make a cast, so how can I cas it to bytes in order to write it to a file??? Is there another way of doing this? thankx


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Upload image file to IS

    Posted 06/25/04 09:49 PM