Sandeep created CXF-8550:
----------------------------
Summary: Apache cxf issue in consuming soap service when request
has child elements as list
Key: CXF-8550
URL: https://issues.apache.org/jira/browse/CXF-8550
Project: CXF
Issue Type: Bug
Components: JAXB Databinding
Affects Versions: 3.4.3
Reporter: Sandeep
Attachments: image-2021-06-08-10-55-36-832.png,
image-2021-06-08-10-55-48-888.png, image-2021-06-08-10-56-04-416.png
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:
!image-2021-06-08-10-55-36-832.png!
!image-2021-06-08-10-55-48-888.png!
!image-2021-06-08-10-56-04-416.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)