Still not working :(

//jaxb generated client
WSMidwayServiceClient unsecuredClient = new WSMidwayServiceClient();

//get client instance to install security handlers
Client client = Client.getInstance(unsecuredClient);

got exception:
IllegalArgumentException : not a proxy class.


Thanx,
Fausto.


On 6/19/07, Tomek Sztelak <[EMAIL PROTECTED]> wrote:
Client client = Client.getInstance(GENERATED_CLIENT);
client.addOutHandler(...)

On 6/19/07, Fausto Lelli <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > "regular" client (check docs or examples folder)
> can you point to some example ? my problem is that
> I know how to attach security handler to a dynamic client but
> not to jaxb-bound portType.
>
> Any help would be greatly appreciated.
> Fausto.
>
> On 6/19/07, Tomek Sztelak <[EMAIL PROTECTED]> wrote:
> > You can configure ws-sec on generated client in the same way as on
> > "regular" client (check docs or examples folder)
> >
> > On 6/18/07, Fausto Lelli <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > Is it currently possible to use WsGen to generate
> > > jaxb client with ws-security enabled ?
> > >
> > > If not, is it possible to programmatically configure
> > > ws-security support in a jaxb generated client ?
> > >
> > > Thanx
> > >
> > > Fausto
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> > --
> > -----
> > When one of our products stops working, we'll blame another vendor
> > within 24 hours.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to