Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5330

axis2-wsdl2code-maven-plugin based wsdl2java code generation failure for the attached wsdl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • nightly
    • None
    • adb, Tools
    • None
    • getting this error in 1.7.0-SNAPSHOT trunk.

    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

      Attachments

        1. AdderService.wsdl
          4 kB
          Denis Weerasiri

        Activity

          People

            Unassigned Unassigned
            ddweerasiri Denis Weerasiri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: