My SOAP (2.2) service includes the stack trace when throwing the exception.
However the exception message is not serialized.  It is easily
reproducible, just throw an exception that contains unescaped XML
characters, e.g.

      public String getPublication(PublicationInputModel inputModel) throws
Exception {
            throw new Exception( "<init>" );
      }

The only obvious solution is to encode the string and decode it in the
client.  Has anyone else run into this problem?

Shawn.


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.

Reply via email to