Re: [Dev] How to exclude nillable elements from the response of an Admin Service

2019-02-07 Thread Hasini Witharana
Hi All, Sorry for the previous reply. I have added "@XmlElement( name = "element1")" annotation on top of the attribute "element1" and its get method. According to [1], this annotation should exclude null elements. [2] [3] and [4] are some resources that is useful for the solution. Still the

Re: [Dev] How to exclude nillable elements from the response of an Admin Service

2019-02-07 Thread Sagara Gunathunga
Check whether any of the following help you, please use any version after Apache Axis2 1.7. - https://issues.apache.org/jira/browse/AXIS2-4859 - https://issues.apache.org/jira/browse/AXIS2-5273 - https://issues.apache.org/jira/browse/AXIS2-3037 Thanks ! On Thu, Feb 7, 2019 at 7:06 PM Hasini

Re: [Dev] How to exclude nillable elements from the response of an Admin Service

2019-02-07 Thread Hasini Witharana
Hi All, I added the "@XmlElement" On Thu, Feb 7, 2019 at 7:03 PM Hasini Witharana wrote: > Hi All, > > I have added a new attribute "element1" to SAMLSSOServiceProviderDTO. > Admin service IdentitySAMLSSOConfigService has been changed by that > addition. "element1" is represented in the WSDL