> It seems that it is impossible to ignore the <commonInput>
> because it has a different namespace.
You can define the namespace used for an element using the 'ns' attribute in
the
structure definition. The following mapping seems to work for unmarshalling
your
xml. If used for marshalling as well it would insert a prefix (mass) on
commonInput
elements. (I'm using version 1.1.3)
<binding direction="input">
<namespace default="elements" uri="http://www.premfire.net/ws/RBSM"/>
<namespace prefix="mass" uri="http://www.esa.int/mass"/>
<mapping name="sendOrderInputMsg"
class="com.criticalsoftware.premsse.UserInfo"
flexible="true" ordered="false">
<structure name="commonInput" flexible="true"
ns="http://www.esa.int/mass"
ordered="false" usage="optional"/>
<structure name="sendRFQInput" flexible="true" ordered="false">
<structure name="userInfo" flexible="true" ordered="false">
<value field="userId" name="userId"/>
</structure>
</structure>
</mapping>
</binding>
Brian Wallis
Senior Consultant
Object Consulting
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users