Hi,

I am trying out the Binding Generator tool to generate the binding XML for
my object heirarchy.

I find that it does not go deeper than 1 level when parsing the object
heirarchy.

To elaborate;
If my objects are like
     example.Customer; has 2 fields example.Address (4 fields),
example.Name (3 fields)
     example.Address extends example.BaseAddress with (2 fields)

The Binding generator ignores example.BaseAddress; and gives an explicit
message to that effect

 Warning: fields from base class example.BaseAddress of class
example.Address not handled by generated binding;
          use mapping or specify property list

If example.BaseAddress is specfied on the command line when executing the
Binding Generator I get an exaception:
            org.jibx.runtime.JiBXException: Unknown namespace URI null

What could I be missing?

~g1


org.jibx.runtime.JiBXException: Unknown namespace URI null
      at org.jibx.runtime.QName.serialize(QName.java:318)
      at org.jibx.binding.model.StructureElement.getQualifiedMapAs(
StructureElement.java:225)
      at
org.jibx.binding.model.StructureElement.JiBX_build_src_org_jibx_binding_model_binding_marshalAttr_5_0(StructureElement.java)
      at
org.jibx.binding.model.JiBX_build_src_org_jibx_binding_model_bindingStructureElement_access.marshal()
      at
org.jibx.binding.model.NestingElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_2_0(NestingElementBase.java)
      at
org.jibx.binding.model.ContainerElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_3_0(ContainerElementBase.java)
      at
org.jibx.binding.model.StructureElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_4_0(StructureElementBase.java)
      at
org.jibx.binding.model.StructureElement.JiBX_build_src_org_jibx_binding_model_binding_marshal_5_0(StructureElement.java)
      at
org.jibx.binding.model.JiBX_build_src_org_jibx_binding_model_bindingStructureElement_access.marshal()
      at
org.jibx.binding.model.NestingElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_2_0(NestingElementBase.java)
      at
org.jibx.binding.model.ContainerElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_3_0(ContainerElementBase.java)
      at
org.jibx.binding.model.TemplateElementBase.JiBX_build_src_org_jibx_binding_model_binding_marshal_4_0(TemplateElementBase.java)
      at
org.jibx.binding.model.MappingElement.JiBX_build_src_org_jibx_binding_model_binding_marshal_5_0(MappingElement.java)
      at
org.jibx.binding.model.JiBX_build_src_org_jibx_binding_model_bindingMappingElement_access.marshal()
      at
org.jibx.binding.model.BindingElement.JiBX_build_src_org_jibx_binding_model_binding_marshal_3_0(BindingElement.java)
      at
org.jibx.binding.model.JiBX_build_src_org_jibx_binding_model_bindingBindingElement_access.marshal()
      at org.jibx.binding.model.BindingElement.marshal(BindingElement.java)
      at org.jibx.runtime.impl.MarshallingContext.marshalRoot(
MarshallingContext.java:1035)
      at org.jibx.runtime.impl.MarshallingContext.marshalDocument(
MarshallingContext.java:1105)
      at org.jibx.binding.BindingGenerator.main(BindingGenerator.java:1106)



This communication is for informational purposes only. It is not intended as an 
offer or solicitation for the purchase or sale of any financial instrument or 
as an official confirmation of any transaction. All market prices, data and 
other information are not warranted as to completeness or accuracy and are 
subject to change without notice. Any comments or statements made herein do not 
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and 
affiliates.

This transmission may contain information that is privileged, confidential, 
legally privileged, and/or exempt from disclosure under applicable law. If you 
are not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, or use of the information contained herein (including 
any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and 
any attachments are believed to be free of any virus or other defect that might 
affect any computer system into which it is received and opened, it is the 
responsibility of the recipient to ensure that it is virus free and no 
responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and 
affiliates, as applicable, for any loss or damage arising in any way from its 
use. If you received this transmission in error, please immediately contact the 
sender and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.
 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to