Hi,
In my API project I have five WSDL files with five <execution/> elements
in the pom, using the codegen plugin (wsdl2java).
Something in my Ubuntu environment causes the generate-sources phase to
fail with this error:
Could not find any node with the XPath expression:
//wsdl:definitions/wsdl:types/xs:sche...@targetnamespace='http://api.example.com/services/v01']
I've tried isolating each of the five <execution/> elements, and any one
of them generates code successfully. If I uncomment any two elements,
then I get the failure.
It gives the appearance of something failing to be cleaned up between
wsdl2java executions. Maybe even a Spring issue. I'm using Maven
2.2.1, Java 1.6.0_18, and I've built cxf from the trunk snapshot to see
it happening with it too.
Annoyingly the build succeeds on Windows, so it has to be something
environmental. I've tried boosting the heap and permgen space for Maven
in the theory that an underlying error was being masked, to no effect.
Any avenues of investigation welcome ...
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
Twitter: http://twitter.com/mojo_la