I can use generation classes with relative wsdlLocation when I specify each file, for example <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/sample.wsdl</wsdl> <wsdlLocation>classpath:wsdl/sample.wsdl</wsdlLocation> </wsdlOption> </wsdlOptions>
Instead, I would like to use <wsdlRoot> , so I donβt need to specify each wsdl to generate classes.
eg.
<wsdlRoot>${basedir}/src/main/resources/wsdl</wsdlRoot> <includes> <include>*.wsdl</include> </includes>
This works to generate classes for each wsdl in the directory, however wsdlLocation in the generated class is the absolute way to where wsdl is located on my machine. I need a relative path, so the code is more portable. Is it possible to specify relative wsdlLocation when using wsdlRoot?
thanks
source share