Hi,
I have been trying to use the 'typesystemname' configuration option
with the axis2-wsdl2code-maven-plugin.
>From some posts on the internet (e.g. this one:
https://issues.apache.org/jira/browse/AXIS2-926#action_12508868) I
understood that this option could be used when using axis2 together
with xmlbeans as a marshaller.
The reason I wanted this is, that right now every time I do a maven
build, the xsb files are generated in a new directory, even when
nothing in my wsdl files has changed.
But I don't see anything changing in the generated package names for
the xsb files; they still look like
'schemaorg_apache_xmlbeans/system/s199BA7B6E70526AFE66E99CD6DD43AB8'.
Here's what my maven plugin configuration looks like:
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.5.4</version>
<configuration>
<packageName>com.misja.api</packageName>
<outputDirectory>${basedir}/target/generated/java</outputDirectory>
<typesystemname>typesystem</typesystemname>
<databindingName>xmlbeans</databindingName>
<flattenFiles>true</flattenFiles>
</configuration>
<executions>
<execution>
<id>Generate Exchange
Service</id>
<phase>generate-sources</phase>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<wsdlFile>${basedir}/src/main/resources/betfair/wsdl/ExchangeService.wsdl
</wsdlFile>
</configuration>
</execution>
<execution>
<id>Generate Global Service</id>
<phase>generate-sources</phase>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<wsdlFile>${basedir}/src/main/resources/betfair/wsdl/GlobalService.wsdl
</wsdlFile>
</configuration>
</execution>
</executions>
</plugin>
Note the 'typesystemname' in the plugin configuration. Building goes
fine, but I don't see any 'typesystem' package being generated ..
What am I doing wrong?
Any help is greatly appreciated!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]