I have two web services, each with its own namespace, and some types that are
common to both in a separate XSD that is imported, with its own namespace. I
am using binding files that are generated by JiBX CodeGen, which creates a
top-level file that includes a file for each namespace. I am using the Maven
JiBX plugin to invoke the JiBX binding compiler.

Everything works as long as the binding compiler only compiles one top-level
file at a time. When I use wild cards so the binding compiler compiles
everything at once, one service works and the other one gets "no
unmarshaller for element" errors on every operation. This happens, even
though the binding compiler reports that it is adding binding code to these
classes. 

Can anyone suggest a solution?  Binding files attached. 
Just using partselect_service_binding.xml works.
Just using partselect_license_binding.xml works.
Using both causes the error.  In this case, the "license" binding works and
the other one doesn't.

http://www.nabble.com/file/p23853900/partselect_license_binding.xml
partselect_license_binding.xml 
http://www.nabble.com/file/p23853900/partselect_service_binding.xml
partselect_service_binding.xml 
http://www.nabble.com/file/p23853900/PartSelectCommon_20090601Binding.xml
PartSelectCommon_20090601Binding.xml 
http://www.nabble.com/file/p23853900/PartSelectLicenseService_20090521Binding.xml
PartSelectLicenseService_20090521Binding.xml 
http://www.nabble.com/file/p23853900/PartSelectService_20081007Binding.xml
PartSelectService_20081007Binding.xml   
   
-- 
View this message in context: 
http://www.nabble.com/Combining-Binding-Files-Causing-%22no-unmarshaller-for-element%22-error-tp23853900p23853900.html
Sent from the jibx-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to