Thanks for the reply, Dennis. I made the changes you suggested to my bindings.xml, that seems to have fixed the previous issue but now I am receiving another error:
[java] Running binding compiler version jibx_1_2_1 [java] Error running binding compiler [java] java.lang.ArrayIndexOutOfBoundsException: -2147483648 [java] at org.jibx.binding.def.PrecompiledBinding.<init>(PrecompiledBinding.java:125) [java] at org.jibx.binding.def.PrecompiledAbstractMapping.<init>(PrecompiledAbstractMapping.java:92) [java] at org.jibx.binding.def.BindingBuilder.unmarshalPrecompiledMappings(BindingBuilder.java:1925) [java] at org.jibx.binding.def.BindingBuilder.unmarshalInclude(BindingBuilder.java:2036) [java] at org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:2108) [java] at org.jibx.binding.Utility.loadBinding(Utility.java:320) [java] at org.jibx.binding.Utility.loadFileBinding(Utility.java:437) [java] at org.jibx.binding.Compile.compile(Compile.java:217) [java] at org.jibx.binding.Compile.compile(Compile.java:184) [java] at org.jibx.binding.Compile.main(Compile.java:379) And here is my updated binding.xml: <binding xmlns:tns0="http://accenture.com/apsp/domain" xmlns:ns0="http://accenture.com/apsp/integration/CustomerService" name="binding" package="com.accenture.apsp.domain" force-classes="true" add-constructors="true"> <namespace uri="http://accenture.com/apsp/domain" default="elements"/> <namespace uri="http://accenture.com/apsp/integration/CustomerService" prefix="ns0"/> <namespace uri="http://accenture.com/apsp/domain" prefix="tns0"/> <include path="file:///D:/Projects/APSP_integration/CrossJarDependency/gen/person-binding.xml" precompiled="true"/> <mapping abstract="true" type-name="customer" class="com.accenture.apsp.domain.Customer" xmlns:tns1="http://accenture.com/apsp/crossjardepend" > <namespace uri="http://accenture.com/apsp/crossjardepend" default="elements" prefix="tns1"/> <structure type="com.accenture.apsp.crossjardepend.Person" map-as="tns1:Person" /> <value style="element" name="firstName" field="firstName" usage="optional"/> <value style="element" name="lastName" field="LastName" usage="optional"/> <value style="element" name="phone" field="phone" usage="optional"/> </mapping> </binding> Thanks again for your assistance! - Josh DSosnoski wrote: > > Hi Josh, > > The problem here is that your binding.xml doesn't just reference the > binding defined for Person in person-binding.xml - it creates a new > binding for Person, in the form of the embedded <structure > type="com.mycompany.apsp.crossjardepend.Person">. To use the precompiled > binding version, change this to <structure > type="com.mycompany.apsp.crossjardepend.Person" map-as="tns1:person"/>, > where tns1 is defined as "http://accenture.com/apsp/crossjardepend". > > - Dennis > > -- View this message in context: http://www.nabble.com/Error-trying-to-use-precompiled-bindings-and-extended-classes-tp25355028p25459139.html Sent from the jibx-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users