Mohan Mahajan
Mohan Mahajan

Reputation: 1651

Pointing wsdl file from pom.xml in webapp

I want to refer to a WSDL file from my POM file of Maven Webapp. It is situated at ..WebApp\src\main\webapp\WSDL\NewWebService.wsdl.

WSDL/NewWebService.wsdl

This gives me error, please suggest.

Thanks in advance!

Upvotes: 0

Views: 842

Answers (1)

Ilya
Ilya

Reputation: 29703

You can refer path, using maven property ${basedir}.

<wsdl>${basedir}/src/main/webapp/WSDL/NewWebService.wsdl</wsdl>  

or

<file>${basedir}/src/main/webapp/WSDL/NewWebService.wsdl</file>  

or something else. (You didn't say anything about used maven-plugin)

Upvotes: 1

Related Questions