Sanjiva

I'm not sure what you mean?

At the moment there is

soapEnvelope.getBody().getFirstElement();
and

soapEnvelope.getBody().setFirstChild();

It might be nice to add

soapEnvelope.getBodyElement();
soapEnvelope.setBodyElement();

However, in Synapse that still requires the user to do
mc.getEnvelope().get/setBodyElement();

I think having a view of the payload directly is cleaner.

Paul



On 1/9/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
Why not just introduce something like soapenvelope.get/setBody() in
Axiom itself? That seems generally useful to me and is consistent with
having getHeader(). Plus its nice to have it with regards to POX style
interactions where the SOAPiness is not something to be proud of.

This obviously needs to be discussed in axis-dev if we're going forward
with it ..

Sanjiva.

On Mon, 2007-01-08 at 18:18 +0000, Paul Fremantle wrote:
> It is just to make teh API simpler and cleaner. It doesn't enable any
> new function.
>
> Paul
>
> On 1/8/07, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
> > Paul
> >
> > I'm sorry but I didn't understand why you are proposing this? Is it to
> > implement something or to make the Synapse message context API cleaner?
> >
> > asankha
> >
> > Paul Fremantle wrote:
> > > I've been considering the idea of adding a get/setPayload into the
> > > Synapse MessageContext interface. Basically this would be a shortcut
> > > for getting the contents of the body.
> > >
> > > This already exists in the scripting mediators.
> > >
> > > Paul
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to