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.


#TechXchangePresenter
 View Only

LargeFile posting to a webService

  • 1.  LargeFile posting to a webService

    Posted Thu October 20, 2011 03:57 PM

    Hi,

    I am trying to invoke a application webservice by posting a large 58 MB PDF file data as input to it.Facing issues while invoking the webservice.Below is the flow that I am implementing.

    Flow:

    1. Using pub.File:getFile, retreive the PDF file as Stream.
    2. Convert Stream to base64format.
    3. Post the base64Format data in a string to a webservice.(Its failing at this step).

    Getting one of the error while invoking the webservice.

    java.net.SocketException: Connection reset
    (or)
    com.wm.app.b2b.server:InvocationTargetException

    Below are the settings existing for large file handling in my IS.

    watt.server.tspace.max=104857600
    watt.server.tspace.location=/eai02/apps/e001/IS/WM71O/IntegrationServer/tspace
    watt.server.cache.gcMins=5 (Invoking GarbageCollector for ever 5 mins)
    watt.server.keepAliveTimeout=1200000 (Which is 20 mins)

    Also JAVA Heap is set to 8GB.

    I am able to send upto 43 MB file to webservice without any issues.

    Please suggest if I need to do any more settings.
    It’s Urgent.Please respond.

    Thanks,
    Sirisha.


    #webMethods
    #API-Management
    #soa