axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanka Samaranayake <ssa...@gmail.com>
Subject Re: [Axis2] How to set up a call programatically
Date Tue, 06 Dec 2005 17:36:46 GMT
Hi Werner,

I updated the SimplePolicyClient in interop/ibm folder. Now you should
be able to run it against
http://wsi.alphaworks.ibm.com:8080/wspolicy/services/policyService
endponit without any problem.

Sanka

On 12/2/05, Dittmann, Werner <werner.dittmann@siemens.com> wrote:
> Srinath,
>
> seems that I'll wait for the 0.93 release and have a look
> into the doc to see how it will work in 0.93.
>
> There is no such call like setWsaAction() and
> setTransportInfo() is deprecated.
>
> Do you know if there will be similar major changes for
> the programmer's (Axis2 user) API in future?
>
> Regards,
> Werner
>
> > -----Urspr√ľngliche Nachricht-----
> > Von: Srinath Perera [mailto:hemapani@gmail.com]
> > Gesendet: Freitag, 2. Dezember 2005 15:32
> > An: axis-dev@ws.apache.org
> > Betreff: Re: [Axis2] How to set up a call programatically
> >
> > there is object call Options in Client package,
> > 1)create instance of that object
> > 2) set your values in to it
> > 3) set it to Call with setClientOptions(..)
> >
> > Thanks
> > Srinath
> >
> > On 12/2/05, Dittmann, Werner <werner.dittmann@siemens.com> wrote:
> > > Ruchith, all
> > >
> > > having dowloaded the latest version of Axis2 jars (0.93 SNAPSHOT)
> > > and try to compile the policy stuff that uses fairly up-to-date
> > > Axis2 version (somewhat near 0.93). However, I can't compile
> > > it. Pls see snippet:
> > > ...
> > > Call call = new Call();
> > >
> > call.setWsaAction("http://schemas.xmlsoap.org/ws/2004/09/mex/G
> > etMetadata
> > > /Request");
> > > call.setTo(new
> > >
> > EndpointReference("http://localhost:8080/axis2/services/Policy
> > Service"))
> > > ;
> > >
> > > call.setTransportInfo(Constants.TRANSPORT_HTTP,
> > >                 Constants.TRANSPORT_HTTP, false);
> > >
> > > ...
> > >
> > > Axis2 0.93 SNAPSHOT does not support the above setXXX for
> > Call anymore.
> > > It seems a there was a major change in the programmer's API.
> > > Are these things gone? Where are they now?
> > >
> > > Regards,
> > > Werner
> > >
> >
>

Mime
View raw message