My own preferred approach for doing this is to start with BindGen
(http://jibx.sourceforge.net/fromcode/bindgen.html) and compare the
generated schema to what I want, then use BindGen customizations to fix
any differences between the two. The tutorial at
http://www.ibm.com/developerworks/java/tutorials/j-jibx1/ has a pretty
good overview of how BindGen works and the basic customizations, then
see the BindGen documentation (linked above) for more details.

  - Dennis

Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117


On 10/06/2010 10:04 PM, Arvind S wrote:
> Thanks Nigel
> Shall check out the same and get back
> I am looking at this from an Axis2 perspective
>
> --- On *Wed, 10/6/10, Nigel Charman /<nigel.charman...@gmail.com>/* wrote:
>
>
>     From: Nigel Charman <nigel.charman...@gmail.com>
>     Subject: Re: [jibx-users] Mapping Response to Multiple Domain Objects
>     To: "JiBX users" <jibx-users@lists.sourceforge.net>
>     Date: Wednesday, October 6, 2010, 2:24 PM
>
>     Hi Arvind
>
>     I suggest you read through the binding tutorial at
>     http://jibx.sourceforge.net/binding/tutorial/binding-tutorial.html
>     and create a binding for your SOAP body to domain objects.
>
>     There are a number of web service frameworks that can be
>     configured with the JiBX binding file - Axis2, Spring-WS,
>     JiBX/WS.  Do you have a particular one in mind?
>
>     regards
>     Nigel
>
>     Arvind S wrote:
>>     Hi
>>      
>>     Using JIBX, can i map a SOAP response to multiple existing domain
>>     objects using the customization XML.
>>      
>>     Please elaborate on how this can achieved with a sample if possible
>>      
>>     Thanks
>>     Arvind
>>
>>
>>     ------------------------------------------------------------------------
>>
>>     
>> ------------------------------------------------------------------------------
>>     Beautiful is writing same markup. Internet Explorer 9 supports
>>     standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>>     Spend less time writing and  rewriting code and more time creating great
>>     experiences on the web. Be a part of the beta today.
>>     http://p.sf.net/sfu/beautyoftheweb
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     jibx-users mailing list
>>     jibx-users@lists.sourceforge.net 
>> <http://us.mc530.mail.yahoo.com/mc/compose?to=jibx-us...@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/jibx-users
>>       
>
>     -----Inline Attachment Follows-----
>
>     
> ------------------------------------------------------------------------------
>     Beautiful is writing same markup. Internet Explorer 9 supports
>     standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>     Spend less time writing and  rewriting code and more time creating
>     great
>     experiences on the web. Be a part of the beta today.
>     http://p.sf.net/sfu/beautyoftheweb
>
>     -----Inline Attachment Follows-----
>
>     _______________________________________________
>     jibx-users mailing list
>     jibx-users@lists.sourceforge.net
>     
> <http://us.mc530.mail.yahoo.com/mc/compose?to=jibx-us...@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
>
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to