Hi all,
We want to use the precompiled binding feature of jibx 1.2 with Axis2.
However, when we try to run wsdl2java with the following command (when
JiBX 1.2 beta 1 and Axis2 1.4.1 are on the classpath):
java org.apache.axis2.wsdl.WSDL2Java -ss -sd -uw -ssi -d jibx -o
generated/ -p ws.server -Ebindingfile binding/binding.xml -uri
wsdl/mywsdl.wsdl
we get the following exception:
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException: Non emitter class
found!
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:269)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: java.lang.ClassCastException:
org.jibx.binding.model.PrecompiledMappingElement
at
org.apache.axis2.jibx.CodeGenerationUtility.collectTopLevelComponents(CodeGenerationUtility.java:1090)
at
org.apache.axis2.jibx.CodeGenerationUtility.collectTopLevelComponents(CodeGenerationUtility.java:1077)
at
org.apache.axis2.jibx.CodeGenerationUtility.collectTopLevelComponents(CodeGenerationUtility.java:1077)
at
org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility.java:314)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:77)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
... 2 more
is there a quick fix for this? We are trying to make a proof of concept
webservice application using the precompiled binding feature.
Best regards,
SerkanC
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users