[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WSDL2RPG/HTTPAPI and passing more than 16mb data



   This way I just sent a message of roughly 41mb to the server:
   User-Agent: http-api/1.24
   Content-Length: 43116439
   Content-Type: text/xml
   SOAPAction:
   sendraw(): entered
   <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope ...
   Thomas.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 09.09.2013 15:47:27:
   > Von: thomas.raddatz@xxxxxx
   > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
   > Datum: 09.09.2013 15:56
   > Betreff: Re: WSDL2RPG/HTTPAPI and passing more than 16mb data
   > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   >
   > Sam,
   >
   > Today dynamic arrays do not (really) help to get beyond 16mb because
   all
   > dynamic arrays share the same memory heap. The advantage of dynamic
   arrays
   > is that the 16mb are used more efficiently and that that the total
   message
   > size can grow up to 32mb. 16mb of static storage of the
   request/response
   > data structure plus 16mb additional heap storage.
   >
   > For the next release I changed the WSDL2RPG memory manager to
   optionally
   > create one heap per array. This way each array can grow up to 16mb.
   If you
   > are on WSDL2RPG v1.14.1 or higher, you may consider to replace
   WSDL2R84
   > (and PWSDL2R84) to use the new manager. After having generated the
   stub
   > you need to change module WS_SRV like this:
   >
   >   // Start memory manager, do not use symbolic names
   >   // Note 1: It is strongly recommended not to use symbolic names
   >   //         due to high performance degradation.
   >   // Note 2: Set "use separate heaps" to cTRUE, if your
   >   //         request/response messages uses dynamic arrays
   >   //         and exceeds 16MB.
   >   MemoryManager_attachService(uuid       // web service uuid
   >                               : cFalse   // do not use symbolic names
   for
   > arrays
   >                               : cTrue);  // use separate heaps for
   arrays
   > !!!
   >
   > Thomas.
   >
   >
   >
   > ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 08.09.2013 16:45:26:
   >
   > > Von: Cdssi@xxxxxxx
   > > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
   > > Datum: 08.09.2013 19:47
   > > Betreff: WSDL2RPG/HTTPAPI and passing more than 16mb data
   > > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   > >
   > >
   > > Hello,
   > > We are on iSeries V7.1 and use wsdl2rpg, there is a need to pass
   more
   > than
   > > 16mb of data to consume web services,
   > > Please suggest alternatives or If we are doing something
   incorrectly.
   > > Will using Dynamic arrays help?, I think there is an example in
   wsdl2rpg
   >
   > > library,
   > > Thanks in advance.
   > >
   >
   Sam.-------------------------------------------------------------------
   ----
   > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > > [1]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >
   -----------------------------------------------------------------------
   >
   >
   > --
   > IMPORTANT NOTICE:
   > This email is confidential, may be legally privileged, and is for the
   > intended recipient only. Access, disclosure, copying, distribution,
   or
   > reliance on any of it by anyone else is prohibited and may be a
   criminal
   > offence. Please delete if obtained in error and email confirmation
   > to the
   >
   sender.----------------------------------------------------------------
   -------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [2]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------

   --
   IMPORTANT NOTICE:
   This email is confidential, may be legally privileged, and is for the
   intended recipient only. Access, disclosure, copying, distribution, or
   reliance on any of it by anyone else is prohibited and may be a
   criminal
   offence. Please delete if obtained in error and email confirmation to
   the sender.

References

   1. http://www.scottklement.com/mailman/listinfo/ftpapi
   2. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------