Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2582

wrapper InOuts not being generated per spec for single response part

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.9, 2.2.6
    • Tooling
    • None

    Description

      If a operation has schema like:

                  <element name="testInOut">
                      <complexType>
                          <sequence>
                              <element minOccurs='0' name='val' type='xsd:int'/>
                              <element name='num' type='xsd:int'/>
                          </sequence>
                      </complexType>
                  </element>
                  <element name="testInOutResponse">
                      <complexType>
                          <sequence>
                              <element minOccurs='0' name='val' type='xsd:int'/>
                          </sequence>
                      </complexType>
                  </element>
      

      we are generating:
      Integer testInOut(java.lang.Integer, int)
      instead of:
      void testInOut(Holder<Integer>, int)
      which is what the spec calls for and what the RI generates.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              dkulp Daniel Kulp
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: