Tanković Nikola wrote:
But that's just the problem. I didn't write the service. Someday someone will put printf in service and will not work over CGI, but will work otherwise.

Even with scripting languages, if you run in CGI, having printf/echo will lead to this problem. So those who deploy services with CGI must be aware of this. So it is a user error.

On the other hand, it does not make sense to have printf in a service, other than for debugging in some cases.

Samisa...


On Sat, Jul 12, 2008 at 4:23 PM, Samisa Abeysinghe <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Nikola Tankovć wrote:

        Is there anything in Axis API to redirect data intended for
        stdout? I'm having a problem 'cause in CGI exec I'm giving
        output to stdout as result of script, and the problem is that
        I need to suppress all stdout output from the invoked service.
        I.e. the included test service for MTOM has a printf("File
        Name %s") line that gets in my way of sending output back to
        server.


    No API is available. Remove the printf, and use a log instead.

    Samisa...


        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        For additional commands, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>


        No virus found in this incoming message.
        Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus
        Database: 270.4.8/1547 - Release Date: 7/11/2008 6:05 PM





-- Samisa Abeysinghe Director, Engineering; WSO2 Inc.

    http://www.wso2.com/ - "The Open Source SOA Company"


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>


ڎ?˘řŤşÇčşwb?Řb˛)ܢh§?gŹą¨ ??ç[ČF?Űi˙ü0ÁŤŕr??zť"˘?4×??V*î°6­iśŹ{nôăßőç?zW?ąŕÚľî˙×oöÓO;ă@ ţ?Ţ


--
Samisa Abeysinghe Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to