THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
wsdlRoot default value is src/main/resources/wsdl
so you may omit this declaration.
Example 5: Loading a wsdl from the maven repository
For CXF 2.3 and latter there is a new config element <wsdlArtifact> which can be used to load a wsdl file from the maven repository.
Code Block | ||||
---|---|---|---|---|
| ||||
<configuration>
<wsdlOptions>
<wsdlOption>
<wsdlArtifact>
<groupId>org.apache.pizza</groupId>
<artifactId>PizzaService</artifactId>
<version>1.0.0</version>
</wsdlArtifact>
</wsdlOption>
</wsdlOptions>
</configuration>
|
This will load the wsdl /org/apache/pizza/PizzaService-1.0.0.wsdl into your local maven repository and generate java code from it.