Forum Discussion

Gatorized's avatar
Gatorized
New Contributor
12 years ago

[Resolved] Wsdl/xsd url location

Hi,

I've been trying to assign the wsdl and xsd files location of my project to a specific place on my local pc using system environment variables so that I wouldn't have to reassign the wsdl and xsd each time I load the project on a different machine. I'd like the project to access these files using local file protocol for java.net.URL,

Following syntax works, file:/C:/projectWsdl/someWsdl.wsdl

Here is an example of what I would like, instead:

file:/${#System#DEV_HOME}/someWsdl.wsdl
where DEV_HOME is defined in the "System Variables" to a custom folder path, is this possible?

I guess there is a way, since in the general properties of a project, by default, it tries to find the hermes config using this syntax: "${#System#user.home}\.hermes" which is very similar to what I'm trying to achieve, does anyone know?

Thanks

2 Replies

  • Hi,

    Using a property for the wsdl location will not work because it expects a URL, and a dollar sign ($) is not proper syntax for a URL.
    The WSDL can be cached if you select "Cache Definitions" to "true" in the project properties location.