Re: [jibx-users] Mapping Response to Multiple Domain Objects
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
Re: [jibx-users] [Bug?] JIBX Incorrect Value Conversion for ByteArray
Hi Jack, Looks like a BindGen bug. You might want to create a Jira to make sure this is corrected for 1.2.3. - 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/04/2010 09:28 AM, Jack Vinijtrongjit wrote: Hi, According to this page, ByteArray is supposed to be converted to base64 representation of binary data. http://jibx.sourceforge.net/details/conversions.html However, what I'm getting when running bindGen is xs:element type=xs:byte name=byte minOccurs=0 maxOccurs=unbounded/ Am I missing something here? Could this possibly be a bug? I'm using version 1.2.2. Thanks, Jack -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ 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
[jibx-users] backward compatibility ? Must recompile
Hi All, I just upgraded to 1.2.2 and then got the following exception because a third party library that I use, uses the older jibx lib: --- Caused by: org.jibx.runtime.JiBXException: Binding information for class com.ing.ideal.connector.binding.impl.DirectoryReq must be recompiled with current binding compiler (compiled with jibx_1_1_5, runtime is jibx_1_2_2) --- How can I solve this as I don't have to source of this third party library, only the jar file? Ed -- 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
Re: [jibx-users] backward compatibility ? Must recompile
Hi Ed, You should be able to use a tool such as JarJar (http://code.google.com/p/jarjar/) to modify the third part library and the older version of the JiBX runtime (renaming the org.jibx classes to some other package). Then these won't conflict with the newer version used by your code. - Dennis On 10/11/2010 10:26 PM, Ed Bras wrote: Hi All, I just upgraded to 1.2.2 and then got the following exception because a third party library that I use, uses the older jibx lib: --- Caused by: org.jibx.runtime.JiBXException: Binding information for class com.ing.ideal.connector.binding.impl.DirectoryReq must be recompiled with current binding compiler (compiled with jibx_1_1_5, runtime is jibx_1_2_2) --- How can I solve this as I don't have to source of this third party library, only the jar file? Ed -- 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
[jibx-users] XMLPullPArserError
Hi I am getting the same issue as documented in the post http://www.mail-archive.com/jibx-users@lists.sourceforge.net/msg01706.html However even following the workaround mentioned in that site doesnt work for me. I am using JIBX 1.2.2 and trying to generate stubs. If i try to do the same using Axis2 and default data binding option of adb it works fine. Regards 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 https://lists.sourceforge.net/lists/listinfo/jibx-users