Hi
try implementing Serializable class
like
public class MobilePhone extends Serializable {
@XmlElement
private String QueryResult;
@XmlElement
private String AreaCode;
}
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXB-partial
-files-with-apache_24.html
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXB-partial-unmarshalling-tp5739497p5739576.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I tried to do JAXB partial unmarshalling test, but always get null values
from xml to java object. The code like this:
JaxbDataFormat jaxb = new JaxbDataFormat(false);
jaxb.setContextPath(org.apache.camel.example.server.model6);
jaxb.setPartClass(org.apache.camel.example.server.model6
(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On Monday, September 16, 2013 at 12:40 PM, hutao722 wrote:
Hi,
I tried to do JAXB partial unmarshalling test, but always get null values
from xml to java object. The code like this:
JaxbDataFormat jaxb = new
better ways?
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXB-partial-unmarshalling-tp5739497p5739509.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
in addition to what you do I alway set the fragement property to true.
Try the follwing:
jaxb.setFragment(true)
regards, Marco
Am 16.09.2013 06:40, schrieb hutao722:
Hi,
I tried to do JAXB partial unmarshalling test, but always get null values
from xml to java object. The code like
)
regards, Marco
Am 16.09.2013 06:40, schrieb hutao722:
Hi,
I tried to do JAXB partial unmarshalling test, but always get null
values
from xml to java object. The code like this:
JaxbDataFormat jaxb = new JaxbDataFormat(false);
jaxb.setContextPath(org.apache.camel.example.server.model6
Thanks, Macro. I tried, but it still doesn't work.
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXB-partial-unmarshalling-tp5739497p5739524.html
Sent from the Camel - Users mailing list archive at Nabble.com.
? Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXB-partial-unmarshalling-tp5739497p5739547.html
Sent from the Camel - Users mailing list archive at Nabble.com.