I am trying to generate client side classes for a Web Service where the URL's
are configurable (without actually modifying the Stub class)

I worked with Web Services once before and the WSDL2Java tool generated
ServiceLocator class for the service and I could pass the end point URL
through that. It also generated several other classes included interfaces.
But now I am trying to do it with this new Web Service and all it generates
is a Stub class and a CallbackHandler class.

Why is it so different? 

My goal is to generate client classes where they are not dependent on the
end point URL being hard coded in the generated classes, but rely on the URL
being passed to them. But the only way I knew to do this was using a
ServiceLocator class but unfortunately for this web service it's just not
generating that class. Is there a special WSDL2Java command line option I am
not using? I dont set any options right now...
-- 
View this message in context: 
http://www.nabble.com/How-do-I-tell-WSDL2Java-not-to-put-URLs-in-the-Stub--tp18011876p18011876.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to