Thanks for the replies so far. I am purposely creating the SQL/database error because I'm trying to work out error handling protocol via SOAP. I would be happy to provide more details, but I'm new to SOAP/CGI and not sure what's relevant. jhourcle, would you mind saying more about "escaping" the error message? If I just run a test case within the module itself, the following string is output:

GhrcCatSvcs.pm:GhrcCatSvcs:GhrcCatTableFields: ***Failed to prepare SQL statement: ORA-00942: table or view does not exist (DBD ERROR: error possibly near <*> indicator at char 14 in 'SELECT * FROM <*>amsu_sub WHERE 1 = 0') at GhrcCatSvcs.pm line 216.

Should I be encapsulating that in XML tags somehow?

In reply to Re: Client-side error Handling (SOAP,CGI) by Anonymous Monk
in thread Client-side error Handling (SOAP,CGI) 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.