Hi Stefan,
 
the generated proxy class got a static field
 
 public static java.net.URL[] _KnownServiceLocations;
In the constructor all known location found in WSDL will be added to this field. So when you create the proxy object, choose the first element of _KnownServiceLocations as the URL.
 
Regards,
Marko G�rg

 -----Urspr�ngliche Nachricht-----
Von: Stefan Henke [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 29. Oktober 2001 09:25
An: [EMAIL PROTECTED]
Betreff: Generating proxy for service

Hi,
 
I�m using Apache SOAP 2.2 together with WSTK 2.4.
I published a service and the corresponding wsdl-files successfully.
 
In the next step, I tried to create a client proxy from the wsdl-files. I used the "proxygen"-tool which is shipped with WSTK 2.4. My problem is that the proxy class needs a URL-parameter in the constructor. But I want to create the proxy for an implementation, so the URL should be included in the class.
 
Can anybody tell me if I�m doing something wrong?
 
Stefan
 

Reply via email to