×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I'm using the Integrated Webservice Support (IWS) to provide a
Webservice. The consumer of the service must provide a customer-number,
an article-number and a quantity. The service calculates the price and
delivers it in a XML, This XML is encoded in UTF-8 and base64 encoded.
The service is serving a webshop.
The XML is created by a separate program using a template and functions
from CGIDEV2 from Giovanni Perotti. The program gives a pointer and
length of a buffer back to the calling program. In the calling program,
I put the content of the buffer to a string. Then I the use ICONV to
convert this string from EBCDIC MNCS (CCSID 500) to UTF-8 (CCSID 1208).
The converted string is base64 encoded, using functions from the
IBM-serviceprogram qsysdir/qaxis10ht.
This have been working fine for almost a year now. Typically the service
was consumed 40'000 -- 70'000 times a day. During the nightly
save-operation the service is down, it starts again after the save.
These last days, new functions have been added to the webshop. The
result is, that the webservice is called more than 250'000 times a day.
After some 12 hours and more than 175'000 calls, I have a problem with
the api QtqIconvOpen, that generates the table for the ICONV conversion.
The code snippet is:
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.