Here's one way to do it:
<binding direction="input">
<mapping name="SOInvoice" class="SOInvoice">
<namespace
uri="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SOInvoice"
default="elements" />
<value name="advancesApplicable" field="advancesApplicable" />
<value name="lineOfBusiness" field="lineOfBusiness" />
<value name="businessPartnerName" field="businessPartnerName" />
<structure name="ControlArea">
<structure field="controlArea" />
</structure>
<value name="ObjectEventId" field="objectEventId" />
</mapping>
<mapping name="ControlArea" class="ControlArea">
<namespace
uri="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/ControlArea"
default="elements" />
<value name="eventConsumer" field="eventConsumer" />
<value name="eventSupplier" field="eventSupplier" />
<value name="destination" field="destination" />
</mapping>
</binding>
On Fri, 2008-01-04 at 16:41 +0200, Dumitrescu Andrei wrote:
> Hi,
>
> I have this xml(this is the short version):
>
> <Q1:SOInvoice
> xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SOInvoice"
> version="3.0.0" verb="OnEvent" locale="en_US" delta="false">
> <Q1:advancesApplicable>xx</Q1:advancesApplicable>
> <Q1:lineOfBusiness>xx</Q1:lineOfBusiness>
> .....................................
> <Q1:businessPartnerName>PIERRE DUBE</Q1:businessPartnerName>
> <Q1:ControlArea>
> <Q2:ControlArea
> xmlns:Q2="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/ControlArea"
> version="3.0.0" verb="" locale="en_US" delta="false">
> <Q2:eventConsumer>xx</Q2:eventConsumer>
> <Q2:eventSupplier>xx</Q2:eventSupplier>
> <Q2:destination>xx</Q2:destination>
> </Q2:ControlArea>
> </Q1:ControlArea>
> <Q1:ObjectEventId>xx</Q1:ObjectEventId>
> </Q1:SOInvoice>
>
>
> And Java classes: SOInvoice and ControlArea. The problem is that i
> dont't know how to write the binding file for that part where the xml
> has "<Q1:ControlArea>
> <Q2:ControlArea"/> .....</Q2:ControlArea></Q1:ControlArea> ", same tag
> but with different ns. Thanks in advance
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ jibx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users