Code generation looks for TenantActivityService.wsdl. But the WSDL under
src/main/resources is TenantMonitoringService.wsdl.

[INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
org.wso2.carbon.tenant.activity.stub ---
[INFO] Executing tasks
     [java] Retrieving document at
'src/main/resources/TenantActivityService.wsdl'.
     [java] Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
     [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:178)
     [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
     [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
     [java] Caused by: javax.wsdl.WSDLException: WSDLException:
faultCode=OTHER_ERROR: Unable to resolve imported document at
'src/main/resources/TenantActivityService.wsdl'.:
java.io.FileNotFoundException: This file was not found:
file:/home/isuru/checkouts/wso2/trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
     [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2226)
     [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2174)
     [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320)
     [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:133)
     [java] ... 2 more
     [java] Caused by: java.io.FileNotFoundException: This file was not
found:
file:/home/isuru/checkouts/wso2/trunk/carbon/service-stubs/org.wso2.carbon.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
     [java] at
com.ibm.wsdl.util.StringUtils.getContentAsInputStream(StringUtils.java:173)
     [java] at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2205)
     [java] ... 5 more
     [java] Java Result: 1
[INFO] Executed tasks


-- 
Isuru Suriarachchi
Technical Lead & Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to