Hi All,

I have been following this discussion closely as I also want to learn more about this 
mustUnderstand stuff (although I must admit I don't know much about JAX-RPC). I read a 
document on SOAP 1.2 and I believe that the value next of role attribute refers to the 
next SOAP node. So the consensus here about it is correct.

How does the relay attribute affect all this. Just curious.

Sanjesh

-----Original Message-----
From: Toshiyuki Kimura [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 11:25 PM
To: [EMAIL PROTECTED]
Subject: Re: MustUnderstand faults


Hi Chris, Srianth, and folks,

  It seems to me that we reache a consensus on a part of this
matter. Chris, and I have made an equivalent response to Srianth,
despite with two different point of views as "Acutial condition
with Axis implementation" and "Idealized vision to accord with
several specifications (i.e SOAP 1.1, 1.2, and JAX-RPC)".

In JAX-RPC.......

  If you have two JAX-RPC handler, below is the workflow.

 +---+
 | A |-->A1#handleRequest()----->A2#HandleRequest()------+
 | x |                                                 Endpint
 | i |                                                   V
 | s |<--A1#handleResponse()<----A2#HandleResponse()<----+
 +---+

You may add a header on A1#handleRequest() or A1#handleResponse().

  Srinath, if you add a MU header on A1#handleRequest() with a
role as 'next', the node couldn't be distinguished whether it is
sure for A2 or not by A2#HandleRequest().
  I think that the 'next' of role-attribute has a special meaning
what the attribute is for the *NEXT* SOAP node (i.e. not for the
current SOAP node, = not for other handlers behind A1).
  But, A2#HandleRequest() has no way to know the 'next' is added
by A1#handleRequest() or the right predecessor as an intermediary.
Thus, A1#HandleRequest() shouldn't add a MU header as a role 'next'.
If you strictly want to pass the node to the next intermediary,
you should add the node on A1#handleResponse().

Could you make a sense ?

  In addition, I believe Axis is a major JAX-RPC implementation.
But, it doesn't mean that Axis perfectly supports all of spec such
as SOAP 1.1, 1.2, and JAX-RPC 1.0.  The great majority of SOAP 1.1
and JAX-RPC 1.0, and also a small part of SOAP 1.2 have coverd in
Axis of version 1.1 final.  Axis will continuously work to accord
with whole of SOAP 1.2, and any others (WS-I basic profile ?).

-- 
Toshi <[EMAIL PROTECTED]>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: MustUnderstand faults

Hi Cris

Thanks for the posting...
What you mean is if the handler want he can make the header added
to be processed in down stream. Am quite agree with you.

But what does SOAP spec say ... Should that handler process in the
downstream or next handler.. I feel the spec does not provide a
clear cut senario and it is to handler to decide...what to do ..

Thanks for your time ... These part with headers seem to be so
unclear ...
the flow thought of all the people where very helpful...

regards
Srinath

On Wed, 20 Aug 2003 06:39:00 -0700 (PDT), Chris Haddad wrote
> In Axis.......
>
> if you place the header in the request message and don't qualify the
> actor/role, then a handler will assume that it should be processed.
> I do not believe there is a facility for a handler to distinguish
> between the original headers sent by the client and headers added
> during processing. The benefit is that a handler can transform the
> headers into internal representations that are processed downstream.
>  Also, headers can be attached to augment the message context.
>
> if you place the header in the response message, then it will be
> passed to the next soap intermediary and it is clear that it should
> not be processed by at least the request flow handlers.
>
> /Chris
>
> On Wed, 20 Aug 2003 [EMAIL PROTECTED] wrote:
>
> > Hi Toshi
> >
> > what I mean as NEXT is
"http://www.w3.org/2003/05/soap-envelope/role/next"; the
> > role given in SOAP Spec.
> >
> > what I mean is the Header addes by A1 has it's role as
> > "http://www.w3.org/2003/05/soap-envelope/role/next"; then who is going
to play
> > the next role.
> >
> > Is it next HANDLER or next NODE...
> >
> > Thanks for your time ..(enthusiasum on the subject ..) :)
> > sorry for not making clear what next is ..
> >
> > regards
> >
> > Srianth



**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may 
contain confidential and privileged material for the sole use of the intended 
recipient (s). Any review, use, distribution or disclosure by others is strictly 
prohibited. If you are not the intended recipient (or authorized to receive for the 
recipient), please contact the sender or reply to Enron Corp. at [EMAIL PROTECTED] and 
delete all copies of the message. This e-mail (and any attachments hereto) are not 
intended to be an offer (or an acceptance) and do not create or evidence a binding and 
enforceable contract between Enron Corp. (or any of its affiliates) and the intended 
recipient or any other party, and may not be relied on by anyone as the basis of a 
contract by estoppel or otherwise. Thank you. 
**********************************************************************

Reply via email to