opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jibx-users@lists.sourceforge.net 4 November 2009 • 6:26PM -0500

[jibx-users] What is the binding definition for a top level element containing the value?
by VanIngen, Erik (FIES)

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi mailinglist!

What is the binding definition for a top level element containing the value?

This is the xml which I would like to marshall/unmarshall:
<?xml version="1.0" encoding="UTF-8"?>
<fact:Get3AlphaCodeRequest
xmlns:fact="http://www.fao.org/fi/domain/flattener">fakeValue</fact:Get3Alpha
CodeRequest>


This is my failing attempt for a binding definition:
<?xml version="1.0" encoding="UTF-8"?>
<binding>
<namespace uri="http://www.fao.org/fi/domain/flattener" prefix="fact"
default="elements" />
<mapping
class="org.fao.figis.flattener.domain.service.Get3AlphaCodeRequest"
style="element"
name="Get3AlphaCodeRequest" field="speciesID">
</mapping>
</binding>



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.