Forum Discussion
richie
6 years agoCommunity Hero
Hi rodneyH,
I dont understand the title of your post "how to pass data as container data type"
Are you talking about passing data in the bits of your xml which is representer by ? characters or do you mean something else? There are a number or ways of passing values via xml tags in a payload.
You do have a containing tag entitled <CONTAINER></CONTAINER>, but the xml youve supplied below is malformed xml (its malformed for a number of reasons) ...i.e. it wont be parsed successfully by an xmlparser.
Can you rephrase your question so we know exactly what you mean, but can you also provide the genuine wellformed xml you need?
Cheers,
Rich
I dont understand the title of your post "how to pass data as container data type"
Are you talking about passing data in the bits of your xml which is representer by ? characters or do you mean something else? There are a number or ways of passing values via xml tags in a payload.
You do have a containing tag entitled <CONTAINER></CONTAINER>, but the xml youve supplied below is malformed xml (its malformed for a number of reasons) ...i.e. it wont be parsed successfully by an xmlparser.
Can you rephrase your question so we know exactly what you mean, but can you also provide the genuine wellformed xml you need?
Cheers,
Rich
rodneyH
6 years agoNew Contributor
Hi Rich,
Thanks for your response. Perhaps I should rephrase my question properly....
The data I need to pass to my web service as container data type which has key and value format. I don't know what values to put in the question marks in the xml element.
For example, if i want to send the data as pet = tiger as my container data type.
Your help is greatly appreciated.
<rhv:TechNotes>
<!--You have a CHOICE of the next 2 items at this level-->
<rhv:element type="?" name="?">?</rhv:element>
<rhv:container/>
</rhv:TechNotes>