You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Elaine Nance <el...@commerce.state.ak.us> on 2005/03/14 20:28:35 UTC

Another basic question: faults best practices

TIA for your kind response:

This is related to trying to get an improved wsdl.

The situation is this:

Trying to program to a service with well-formed in messages and 
not so swell out messages.

This question probably implies other questions as well.

Many of the out messages (responses) may contain an <errors> 
element.  However, since ALL out messages are defined as strings, 
there is no type definition for the <errors> element which may be 
contained in the xml document stuffed into a string.

Should errors be returned as SOAP faults?  If not, why not?

All input appreciated,
Elaine

<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  |  Computers are useless. They can only give you answers.
  |                                 --  Pablo Picasso  --
<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~