Nope, I just tried once again (I'm using xfire 1.2.4).
The *ServiceClient has the following methods:
public Object getEndpoint(Endpoint endpoint)
public Object getEndpoint(QName name)
private void create0()
public WSMidwayServicePortType getWSMidwayServicePortTypeLocalEndpoint()
public WSMidwayServicePortType
getWSMidwayServicePortTypeLocalEndpoint(String url)
public WSMidwayServicePortType getWSMidwayServiceHttpPort()
public WSMidwayServicePortType getWSMidwayServiceHttpPort(String url)

BTW,
UnsecuredWSMidwayServicePortType port =
unsecuredServiceClient.getUnsecuredWSMidwayServiceHttpPort();
                
Client client = Client.getInstance(port);

(Using the port instead of the ServiceClient) seems to work fine.
Is this correct?

Thank you very much for you patiece.

F.

On 6/19/07, Tomek Sztelak <[EMAIL PROTECTED]> wrote:
so you don't have any get*Soap method on your client ?

On 6/19/07, Fausto Lelli <[EMAIL PROTECTED]> wrote:
> Already seen this, but
> GeoIPServiceSoap geoIPClient = service.getGeoIPServiceSoap();
> An equivalent method on my generated client is nowhere to be found.
>
> F.
> On 6/19/07, Tomek Sztelak <[EMAIL PROTECTED]> wrote:
> > http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL
> >
> > On 6/19/07, Fausto Lelli <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> > >
> >
> >
> > --
> > -----
> > 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