As Leif (eventually) discovered, the issue here was that his namespace
declaration, nested inside the ServiceIdentification element <mapping>,
only applies to the definitions within that <mapping>. If you want a
namespace to apply to all the components of your binding, make it a
child of the <binding> element preceding the top-level <mapping>s. This
is documented at
http://jibx.sourceforge.net/details/namespace-element.html, but perhaps
not as clearly as would be useful.
- Dennis
Leif Stainsby wrote:
Hi Mocky,
Thanks for your efforts, they did help. Now, I think I have it narrowed
down to a problem with namespace handling. After I noticed that your
example did not include a <namespace/> element I tried it without
namespace at all (source file + binding file), and it worked! So, I
have entered a bug report detailing the problem here:
http://jira.codehaus.org/browse/JIBX-81
BTW, I am using the CVS code, not the RC1 jars, so this might(?) explain
why I get errors when I omit the factory attributes as you did.
Best regards,
...Leif
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users