Hi Venky,

You can use a relative path instead of an absolute one. If you look at the source code of org.apache.axis.handlers.soap.SOAPService (the generateWSDL() method), you will see that, appart from an absolute path, you can use a path relative to the execution directory ($TOMCAT_HOME/bin), or to the webapp root folder. So, in your case, try to put:

<wsdlFile>myservice.wsdl</wsdlFile>

Cheers,
Rodrigo

Venkatesh Jayaraman (jvenky) wrote:
I looked at the AXIS 1.4 source and I did not see any indication that wsdlFile tag handles the environment variables.

So I am planning to go with generation of two server-cong.wsdd. one for windows and the other for linux.

Thanks for your help any way …;D

Happy New Year 2008

-Venky

------------------------------------------------------------------------

*From:* Venkatesh Jayaraman (jvenky)
*Sent:* Wednesday, January 02, 2008 11:01 AM
*To:* [email protected]
*Subject:* Environment variable in <wsdlFile> tage of service-config.wsdd file

Helo

I am using WSDL file path with in wsdd file like as follows

Server-config.wsdd file:

….

<service name="MyPort" provider="java:RPC">

  <wsdlFile>/usr/local/tomcat/webapps/myservice/myservice.wsdl</wsdlFile>

…

<service>

NOW I need to support this wsdd for both windows and linux.

Can we use environment varible with in wsdlFile tag of service definition??

Thanks for the help in advance..

-Venky


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

Reply via email to