WebService Repeating Elements
Posted: Tue May 28, 2013 3:02 am
I am having a problem while sending a message to webservice having repeating element.
For exemple : Employees ID's is declared as maxoccurs="unbounded"
<EMPLOYEES>
<ID>123</ID>
<ID>121443</ID>
<ID>125553</ID>
</EMPLOYEES>
I am reading ID column as one value 123</ID><ID>121443</ID><ID>125553. (DataType is already marked as "XML") However, the message send to webservice is
123</ID><ID>121443</ID><ID>125553
encoding < as < and > as >
Client needs the repeating values to be send in the same record [not splitting every value as a row in XMLStage to send message] ?
Can you please help me?
For exemple : Employees ID's is declared as maxoccurs="unbounded"
<EMPLOYEES>
<ID>123</ID>
<ID>121443</ID>
<ID>125553</ID>
</EMPLOYEES>
I am reading ID column as one value 123</ID><ID>121443</ID><ID>125553. (DataType is already marked as "XML") However, the message send to webservice is
123</ID><ID>121443</ID><ID>125553
encoding < as < and > as >
Client needs the repeating values to be send in the same record [not splitting every value as a row in XMLStage to send message] ?
Can you please help me?