function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lokeswara ReddyLokeswara Reddy 

How to pass values when there is no field defined in the wsdl

Hi All,

We are trying to integrate with external system, there is a complex type defined to pas name-value pair as part of tag
               
<Organization>
      <Unit Type="Legal Entity">XYZ1</Unit>
</Organization>
Apex generated label "Type" where we can pass avlue as "Legal Entity", but how to pass XYZ1 while invoking the service.

I believe the structure should be somethign similar to          
<Organization>
       <Unit Type="Legal Entity" Value="XYZ1" />
</Organization>
When tested via SOAPUI, request is success but the value is not being updated in the target system.

Any clue on how to solve this issue?

Thanks in advance