On Wed, 2005-07-20 at 08:28 +0200, Mathieu Larchet wrote:
> Martin Grotzke wrote: 
> > Hi Mathieu,
> > 
> > On Tue, 2005-07-19 at 15:39 +0200, Mathieu Larchet wrote:
> >   
> > > Hello,
> > > 
> > > I'am using wsdl2java to generate client classes for my service.
> > > wsdl2java generate a <service-name>ServiceLocator.java class which
> > > contains direct references to my service endpoint (something like
> > > http://server.mydomain.com/axis/MyService).
> > > 
> > > I want to specify in my client only the WSDL url. The service locator
> > > should be able to find dynamically the webservice endpoint but I can't
> > > find how.
> > >     
> > You might want to try the following:
> > 
> > YourServiceLocate sl = new YourServiceLocator();
> > URL portAddress = new URL( "http://server.mydomain.com/YourService"; );
> > YourService service = sl.getYourService( portAddress );
> > 
> > Cheers,
> > Martin
> >   
> Again, you're submitting the service URL in your client.
> I want to submit only the WSDL URL in my client ant let it find itself
> the service endpoint.

So what about
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/client/Service.html#Service(java.lang.String,%20javax.xml.namespace.QName)
 ?

Cheers,
Martin

> > 
> >   
> > > Does anybody have already done something like this ?
> > > 
> > > Thanks
> > > 
> > > PS : Axis should work like this, PHP and Perl already work like this.
> > > 
> > >     
> 
> 
> -- 
> Mathieu Larchet
> Centre de Ressources Informatiques
> Université Nancy 2
> [EMAIL PROTECTED]
> 03-83-39-64-06
> http://www.univ-nancy2.fr/ANNUAIRE/PERS/detail_pres.php?uid=mlarchet
-- 
Martin Grotzke
Hohenesch 38, 22765 Hamburg
Tel.      +49 (0) 40.39905668
Mobil     +49 (0) 170.9365656
E-Mail    [EMAIL PROTECTED]
Online    http://www.javakaffee.de

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to