Hello, I am trying to integrate axis2 1.5 with jibx 1.2.1. I think this is a problem with jibx and that is why I am posting it on jibx user mailing list. I have the wsdl file and the schema with me. I have used the jibx org.jibx.schema.codegen.CodeGen to generate the objects & the binding file from the schema. I then enhance the classes using the jibx binding compiler way.Uptil now all fine.
Then when am trying to generate server side skeletons using: org.apache.axis2.wsdl.WSDL2Java -uri Service.wsdl -d jibx -Ebindingfile binding.xml -s -ss -sd -scn ServiceName referring http://ws.apache.org/axis2/1_1_1/jibx/jibx-codegen-integration.html#wsdl I am getting errors. The stacktrace: Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException > java.lang.RuntimeException: No mapping defined for element > {http://sample/types }ElementName I am not sure where I went wrong, also I did find it being mentioned in quite a few number of places such as, http://marc.info/?l=axis-user&m=117028406518758&w=2 But I really did not find any solution, I think somebody has got some workaround for this. If I use jaxb instead of jibx, it works fine, there is not binding file in such a case, is the generated the binding file in correct, I am not really sure so hinting at different things. Can anyone help in some workaround. Regards, Anshuk **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** ------------------------------------------------------------------------------ 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