SOAPAgent Service - SOAP Request - set attribute xsi:nil="true" on element
To change the element that is created by LI in the SOAP Request Message be explicitly set from
<element xsi:type="xsd:string"/> to <element xsi:nil="true"/>
go to LANSA Integrator Studio in your project under
Project
Integrator
Solutions
<your solutionname>
Compile-agent
<your servicename>
<your fragment>.java
Inside you can see the elements , like this :
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("country");
elemField.setXmlName(new javax.xml.namespace.QName("", "country"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);