Search code examples
web-servicesgrailsjava-metro-framework

creation on stub/proxy classes from wsdl at compilation time


Is it possible to include the wsdl in project and generate stub automatically at the time of project compilation? I'm using grails, and grails-metro plugin for web services.


Solution

  • Use following method in grails gant script class. com.sun.tools.ws.WsImport.doMain(attrs)