axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don t <donny.tjon...@verizonwireless.com>
Subject Axis2 JiBX integer binding
Date Tue, 09 Sep 2008 22:17:03 GMT

My WSDL defines an integer element like this:

<xs:element name="id" type="xsd:integer"/>


I ran Axis2 1.4 wsdl2java with JiBX binding and unwrap option and got this
error:

Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: Cannot unwrap element
...
no format definition found for type
{http://www.w3.org/2001/XMLSchema}integer
[java]     at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
[java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)

Seems JiBX binding doesn't support XML schema integer type.
-- 
View this message in context: http://www.nabble.com/Axis2-JiBX-integer-binding-tp19402442p19402442.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message