Resolution: Description:
=======
When defining a message part as a complex type, derived from {http://schemas.xmlsoap.org/soap/encoding/} array with items of complex type, TIBCO Businessworks (BW) with SOAP request-reply activity does not set the type of elements inside the array, but the same issue does not happen when using SOAPUI.
Environment:
========
All
Symptoms:
=======
An example of the SOAP body is:
<items xmlns="" xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="urn:DEV_dev_storehouseServerAPIwsdl" xmlns:ns0="http://schemas.xmlsoap.org/soap/encoding/" ns0:arrayType="ns:productIn[]" ns1:type="ns:productInItems">
<item xmlns="">
<productId xmlns="">1</productId>
<productQuantity xmlns="">2</productQuantity>
</item>
</items>
Items and productId and productQuantity are missing the xsi:type attribute when derived from Array.
Cause:
====
Manually add the type attribute for the element in Designer.
Resolution:
=======
Go to your SOAP r/r productId, click on the "!" (Edit statement) button, go to Type and define it as an appropriate type.
Attachments:
========
See the attached WSDL example (Filename: client_wsdl.wsdl).