I have a simple SOAP service on an IRIX box to perform queries on an Oracle database hosted on a remote SUN box. Calls to the SOAP service are dispatched via a CGI script. For testing purposes, I have a simple client program on the IRIX box to submit the SOAP call and process the response. This service works fine locally on the IRIX box. It even works when I call the service on the IRIX box using the same client program on a remote LINUX box. However, when I copy the service source code files to the LINUX box and try to run the service locally, I get the dread "500 Internal Server Error" message and the error_log simply says "Premature end of script headers:...".

My SysAdmin has assured me that we're running the exact same version / configuration of Apache and PERL on both the IRIX and LINUX boxes. Since the source code runs fine on IRIX, I'm at a loss as to why it won't run under LINUX. I have confirmed that I have access to the remote database from the LINUX box. I also have strong evidence that the queries are actually being processed by the database, but that something is going wrong while the query result is being returned. The client dies without even letting me check the faultcode or faultstring. Help!

In reply to Problem: SOAP via CGI with PERL by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.