Always report exceptions using the SOAP Fault mechanism.

Whether the document is validated against a schema is up to you.  
There is no requirement that this be done.

On 17 Jun 2003 at 7:59, Vishal Shah wrote:

> Hi,
>  
> I've a couple of design questions...I've a Doc/literal style service..
>  
> What's the best way to handle any abnormal conditions and errors ?Should the service 
> throw an exception or should it create a "error" element in a response document ?
>  
> Is it safe to assume that in Doc/literal style, a doc gets parsed and validated 
> using a schema ? If not, is the service responsible for validating (coarse-grained 
> validation) the document ? Pl advise...
>  
> Thanks
> VS
>  
> 
> 
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!


Scott Nichol

Do not reply directly to this e-mail address,
as it is filtered to only receive e-mail from
specific mailing lists.


Reply via email to