Details
Description
How to reproduce the issue
1. Use the following plugin against the attached sample WSDL (AdderService.wsdl).
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.7.0-SNAPSHOT</version>
<!-<version>1.6.2</version>->
<executions>
<execution>
<id>Service Code</id>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<wsdlFile>src/main/resources/AdderService.wsdl</wsdlFile>
<packageName>com.concur.piprocessor.service</packageName>
<unwrap>true</unwrap>
<databindingName>adb</databindingName>
</configuration>
</execution>
</executions>
</plugin>
note - I used the following script based generation in 1.7.0-SNAPSHOT and it worked fine.
sh axis2-1.7.0-SNAPSHOT/bin/wsdl2java.sh -uri src/main/resources/AdderService.wsdl -u -uw -o target/generated-code -p com.concur.piprocessor.service
note - axis2-wsdl2code-maven-plugin with version 1.6.2 worked fine.
Regards,
Denis Weerasiri