This one puzzles me, Joshua. You should only get that message when you are using an object as a simple <value>. Unless you specify otherwise (using a <format>, or deserializer="xxxxx") JiBX needs the constructor from String to create an instance of the object corresponding to the text value seen in the input document. Yet you say the constructor is not actually being used. Can you give more specifics of your binding and data?

 - Dennis

Dennis M. Sosnoski
Enterprise Java, XML, and Web Services
Training and Consulting
http://www.sosnoski.com
Redmond, WA  425.885.7197



Davies, Joshua wrote:

Whenever I create an input binding (e.g. for unmarshalling), I always
get the following error message:

org.jibx.runtime.JiBXException: No deserializer for
com.travelocity.datatype.car.sabre.CarPolicyResponse; define
deserializer or constructor from java.lang.String

And I create a dummy constructor that takes a string argument, and then
it works.  In testing (by placing a breakpoint in that constructor), it
doesn't appear that this constructor is being used... does anybody know
why this is required?  I'm using beta 3c.


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op�k _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to