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

Apache cxf issue in consuming soap service when request has child elements as list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.3
    • None
    • JAXB Databinding
    • None
    • Unknown

    Description

      We are using Apache cxf to consume a soap service. Client code is generated using wsdl2java tool. SOAPRequest body contains child elements which are list of objects and nullable property for list attribute set to true.

       Issue faced: Our client code generates soap request by setting all required attributes, populates request object (client java code by wsdl2java) and invokes soap service. This invocation fails intermittently. During analysis, we logged marshalled xml request and observed that in xml request, list attributes were empty and populated with empty xml tags, even though java logs clearly shows that list was not empty.

       This happens intermittently, for same deployment and same request attributes. We have tried with apache cxf version 3.3.7 and 3.4.3, Issue is faced on both versions.

      Please refer to below attachments for details:

      Attachments

        1. SouthBoundIntegrationParent.zip
          122 kB
          Sandeep
        2. image-2021-06-08-10-56-04-416.png
          54 kB
          Sandeep
        3. image-2021-06-08-10-55-48-888.png
          30 kB
          Sandeep
        4. image-2021-06-08-10-55-36-832.png
          74 kB
          Sandeep

        Activity

          People

            Unassigned Unassigned
            sandeep_chinchkar Sandeep
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: