[jboss-dev-forums] [Design of JBoss ESB] - Re: Webservice - SOAP - JAXB Introductions

Sylvia Isler do-not-reply at jboss.com
Sun Aug 12 14:25:45 EDT 2007


I had tried a config file just like  the config file illustrated in your last message. I just tried it again to double check my initial result.

 While it is true that the illegal annotations error is avoided by using the Method construct, it is still the case that the unmarshalling of the example xml file:
<?xml version="1.0" encoding="UTF-8"?> 
  | <UnitPrice  value="40.0" xsi:noNamespaceSchemaLocation="C:\UnitPrice.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
  | 	


appears to fail with JAXBIntros with the error:
anonymous wrote : junit.framework.AssertionFailedError: get double value error expected:<40.0> but was:<0.0>
	
Works fine with JAXB Proper, however.

I'm continuing to investigate because jaxb-intros will be invaluable for my project if I can get it to work. 

If there exists a working example of similar (i.e. very simple) complexity can someone post it?

Regards,
Sylvia


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073397#4073397

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073397



More information about the jboss-dev-forums mailing list