You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Srinath Perera <he...@gmail.com> on 2006/02/17 17:45:17 UTC

[Axis2]Service Client do not have xxx(x?,SOAPEnvelope) methods

Hi All;

Did the  xxx(x?,SOAPEnvelope) methods not going to supported in the
Service Client?

Is there a other way to  set the SOAP Headers from the Client API
without writing a Handler/Module?

Thanks
Srinath

--
============================
Srinath Perera:
   http://www.cs.indiana.edu/~hperera/
   http://www.bloglines.com/blog/hemapani

Re: [Axis2]Service Client do not have xxx(x?,SOAPEnvelope) methods

Posted by Srinath Perera <he...@gmail.com>.
> Nope. ServiceClient is meant to be the simple API .. supports OM only.
>
> The next level is an operation client you get to play with MCs then.
>
> > Is there a other way to  set the SOAP Headers from the Client API
> > without writing a Handler/Module?
>
> Of course :-).
>
> First, ServiceClient has a addHeader method. Second, if you use
> OperationClient, then you have the ability to add headers via the MC.

Thanks :) .. I looked for addHeader in the Options

Add Header + OM = Envelope (almost), so it should do!

Thanks
Srinath

Re: [Axis2]Service Client do not have xxx(x?,SOAPEnvelope) methods

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Fri, 2006-02-17 at 11:45 -0500, Srinath Perera wrote:
> Hi All;
> 
> Did the  xxx(x?,SOAPEnvelope) methods not going to supported in the
> Service Client?

Nope. ServiceClient is meant to be the simple API .. supports OM only.

The next level is an operation client you get to play with MCs then.

> Is there a other way to  set the SOAP Headers from the Client API
> without writing a Handler/Module?

Of course :-).

First, ServiceClient has a addHeader method. Second, if you use
OperationClient, then you have the ability to add headers via the MC.

Sanjiva.