Thanks Josef for your input. I will rephrase my question.

Say I need to deploy the same service on different hosts. The way I am
doing it now is to modify the host info in the wsdl file for each
host, re-generate the *.aar file and deploy on the host in question.

I was wondering if someone knows a better way to do it.
I heard about wsdd files but I am not sure it can help here.




On Wed, May 25, 2011 at 9:06 AM, Stadelmann Josef
<josef.stadelm...@axa-winterthur.ch> wrote:
> I can not help you, but I like to add my 2 cents but from a
> different perspective!
>
> A WSDL file describes an Interface to a Web Service;
> A WSDL file should not describe Instances!
>
> If a WSDL file describes Instances of what ever Type
> (Instances of Hosts as in your case just beeing one bad example)
> it is in my mind a violation of a Service Interface Describer!
> I would see such information in a deploynment descriptor.
> And the result of doing badly is what you have! Problems!
>
> Josef
> And now it's time and you can hack at me ;-(
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Denise Wu [mailto:wadie...@gmail.com]
> Gesendet: Dienstag, 24. Mai 2011 17:54
> An: java-dev@axis.apache.org; java-u...@axis.apache.org
> Betreff: generation of custom .aar files for a list of different hosts
>
> Hi,
>
> I use wsdl2java to generate the stubs and skeletons of my websevice.
> It is obviously configured to run on the host I specify in the wsdl
> file.
> Running the 'jar.server' target in the build.xml will create a .aar
> file with in it the wsdl file containing the host info.
>
> My question is: is there a clever way to generate the *.aar  for a
> custom host from the build.xml file? or any other way?
> and how to do it?
>
> Thanks for your help!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-dev-h...@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-dev-h...@axis.apache.org
>
>



-- 
Wadienil.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to