scubacabra / gradle-wsdl-plugin

Gradle plugin that helps with using WSDL files and generating their WARs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileNotFoundException (Is a directory)

ilsaul opened this issue · comments

commented

Hi,
I have the error below:


org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':DirectSearch-ws:resolveWsdlDependencies'.
org.gradle.jacobo.plugins.resolver.WsdlDependencyResolver] resolving dependencies for wsdl file '/project/wsdl/DirectSearchService.wsdl'
org.gradle.jacobo.plugins.resolver.WsdlDependencyResolver] creating document for file '/project/wsdl/DirectSearchService.wsdl'
org.gradle.jacobo.schema.slurper.DefaultDocumentSlurper] '/project/wsdl/DirectSearchService.wsdl' has no dependencies for 'wsdl imports'
org.gradle.jacobo.schema.slurper.DefaultDocumentSlurper] slurping '1' dependencies for 'xsd imports'
org.gradle.jacobo.schema.slurper.DefaultDocumentSlurper] '/project/wsdl/DirectSearchService.wsdl' has no dependencies for 'xsd includes'
org.gradle.jacobo.schema.resolver.DefaultDocumentResolver] location '' relative to '/project/wsdl' resolved to '/project/wsdl'
org.gradle.jacobo.plugins.resolver.WsdlDependencyResolver] retrieving '1' document dependencies from document
org.gradle.jacobo.plugins.resolver.WsdlDependencyResolver] creating document for file '/project/wsdl'
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':DirectSearch-ws:resolveWsdlDependencies'
class org.gradle.TaskExecutionLogger] :DirectSearch-ws:resolveWsdlDependencies FAILED
org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :DirectSearch-ws:resolveWsdlDependencies (Thread[main,5,main]) completed. Took 0.108 secs.

 * What went wrong:
 Execution failed for task ':DirectSearch-ws:resolveWsdlDependencies'.
 > java.io.FileNotFoundException: /project/wsdl (Is a directory)

I think becuase an import <import namespace="http://schemas.xmlsoap.org/soap/encoding/ "/> in <types><schema>

can you help me?

Have a wsdl where there are two similar imports as above and getting the same.

Have you found a workaround?