OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-msg message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: [ebxml-msg] Reporting Mechanism for EbXML Errors?

Hi Doug,

Thanks for the feedback, you make a good point that the SOAP layer
_cannot_ be assumed to detect (and hence send a SOAP Fault for)
non-schema-compliant ebXML.

So the potential does exist for non-schema-compliant ebXML to reach the
ebXML tier.  My question then is, how should the ebXML tier report such
ebXML XMLSchema validation errors?

This spec snippet from MSS 2.0 seems to indicate that the ebXML tier has
two "over the wire" based error reporting mechanisms at its disposal:
(1) MSH Error Signal; and, (2) SOAP Fault.

1265 An ebXML SOAP Message reporting an error with highestSeverity of
Warning SHALL NOT be 
1266 reported or returned as a SOAP Fault.

ie highestSeverity "Error" could warrant use of a SOAP Fault.

Now section ("Reporting Errors in ebXML Elements") only seems
to address situations where the ebXML document is "well formed and
valid".  If by "valid" the spec intends "compliant to the ebXML
XMLSchema" then there seems to be no discussion on how to report an
XMLSchema validation error via an ebXML Error signal.  Does this mean
that the ebXML tier should only trigger SOAP Faults to report ebXML
schema validation errors??

Thanks and Regards,

Dave Elliot
XML Global Technologies

On Tue, 2002-11-05 at 16:58, Doug Bunting wrote:
> Dave,
> I just went back to the 2.0c document and read:
> 1254 4.2 Error Handling Module
> 1255 This section describes how one ebXML Message Service Handler (MSH) 
> reports errors it detects in an
> 1256 ebXML Message to another MSH. The ebXML Message Service error 
> reporting and handling module is
> 1257 to be considered as a layer of processing above the SOAP processor 
> layer. This means the ebXML MSH
> 1258 is essentially an application-level handler of a SOAP Message from 
> the perspective of the SOAP
> 1259 Processor. The SOAP processor MAY generate a SOAP Fault message if 
> it is unable to process the
> 1260 message. A Sending MSH MUST be prepared to accept and process these 
> SOAP Fault values.
> What you're asking seems like a layer below this text.  Any answer we 
> provide in the Messaging specification would infringe upon the operation 
> of the SOAP processing layer.  If the SOAP specification 1.1 does not 
> describe whether or not schema validation gets performed for all 
> namespaces mentioned in a SOAP message prior to invocation of the 
> "handler", we're certainly unable to prevent it occurring first.  Please 
> let me know if I'm misinterpreting your request.
> The SOAP 1.1 specification actually goes a bit further in leaving schema 
> validation up to the implementation.  Its schema includes the 
> processContents="lax" attribute for all embedded content.  This means 
> some XML parsers (but not all) are free to validate the embedded content 
> whenever the SOAP processor layer chooses to invoke the parser.  In 
> short, a severity of "Errors" could be recognized a number of different 
> times and cannot be guaranteed to always or never result in a SOAP Fault.
> thanx,
>     doug
> Dave Elliot wrote:
> >Hi all,
> >
> >I just wanted to confirm a point regarding reporting of errors in ebXML
> >messaging...
> >
> >If a given inbound soap message package identifies itself as ebXML and
> >is not valid per the EBXML 2.0 XML Schema is it expected that a SOAP
> >Fault is returned?
> >
> >For example, suppose an inbound ebXML message specifies an error
> >severity of "Errors" in violation of the allowed values ("Error" or
> >"Warning")...is this problem to be reported as a SOAP Fault?
> >
> >My aim is to confirm the bounds to which the ebXML error reporting
> >mechanism is expected to apply...  (to tie down distinctions in the
> >treatment of "XML validation" problems and "ebXML validation" problems
> >for a given message...)
> >
> >Best Regards,
> >
> >Dave Elliot
> >XML Global Technologies
> >
> >
> >
> >----------------------------------------------------------------
> >To subscribe or unsubscribe from this elist use the subscription
> >manager: <http://lists.oasis-open.org/ob/adm.pl>
> >  
> >
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC