Denis Weerasiri created AXIS2-5330:
--------------------------------------

             Summary: axis2-wsdl2code-maven-plugin based wsdl2java code 
generation failure for the attached wsdl
                 Key: AXIS2-5330
                 URL: https://issues.apache.org/jira/browse/AXIS2-5330
             Project: Axis2
          Issue Type: Bug
          Components: adb, Tools
    Affects Versions: 1.7.0
         Environment: getting this error in 1.7.0-SNAPSHOT trunk. 
            Reporter: Denis Weerasiri


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to