I'm not an Axis2 expert but I know a bit about WS-Addressing so here goes:

Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote on 13/04/2006 08:29:30:

<snip>
> 
> According to http://www.w3.org/2005/08/addressing schema, it can be any
> value.

That's not entirely correct, the definition is broad but there are some 
requirements. The specification text requires [message id] be a valid 
absolute IRI while the schema requires an xs:anyURI

<snip>
> 
> 1) I need to write MessageID value to the database and therefore need
> to know exact size and format of it. Is there a *sender neutral* way of
> this?

No. All you can know is that a conformant message id is an IRI

> 
> 2) Although http://www.w3.org/2005/08/addressing schema does not
> mandate for a special format, does Axis2 expect a special pattern?

The spec requires an IRI so if it did expect something I'd be more than a 
little surprised given the interop results.

> 
> 3) Must I make sure that I can safely write MessageID without
> contradicting database schema constraints, if it has passed through
> Axis2?

A quick look at the code suggests no :-( I can't see any validation of the 
MessageID e.g. that it is actually a valid URI/IRI

Hope this helps,
David

Reply via email to