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

java.lang.RuntimeException: Unexpected subelement value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • None
    • None
    • Windows XP

    Description

      Using generated WSDL from POJOs and the ADB, the client stub is generating an "java.lang.RuntimeException: Unexpected subelement value" exception. The issue seems stem from the targetnamespace defined in the wsdl not being used for an element within my POJO.

      Here is email thread regarding this issue:
      http://www.nabble.com/-Axix2--java.lang.RuntimeException:-Unexpected-subelement-value-t3489089.html

      My WSDL and a sample response document is attached.

      Attachments

        1. MyService.aar
          5 kB
          Ted Jones
        2. MyWebservice.jar
          117 kB
          Ted Jones
        3. MyWebService.wsdl
          21 kB
          Ted Jones
        4. sampleMessage.txt
          0.4 kB
          Ted Jones

        Issue Links

          Activity

            People

              deepal Deepal Jayasinghe
              jonested Ted Jones
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: