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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > > Gesendet: Freitag, 2. Dezember 2005 15:32 > > An: [email protected] > > 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 <[EMAIL PROTECTED]> 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 > > > > > >
