Hi denis, try to add /adder='addRecipient//'/ to your element.//
denis queffeulou escribió:
Hi all,
I try to use Betwixt 0.7 to parse this XML (generated by betwixt) :
<SendRequest>
...
<recipients>
<recipient>09089787767</recipient>
<recipient>767576565</recipient>
</recipients>
...
</SendRequest>
the problem is that I get null for each "recipient". I got a bean that
contains a list with 2 null recipients.
I'm using the .betwixt :
<?xml version='1.0' encoding='UTF-8' ?>
<info primitiveTypes="element">
<element name="SendRequest">
...
<element name="recipients">
<element name="recipient" property="recipients"
updater="addRecipient"/>
</element>
...
</element>
</info>
The bean contains the following methods :
public List getRecipients()
public void setRecipients(List recipients)
public void addRecipient(String aRecipient)
I don't understand what is the problem since when I'm using
addDefaults, the generated XML is the same.
thanks for help
--
Denis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]