Hi Joanna,
Misleading error message, an something that should probably not be an
error in the first place. What's really going on is that the code
expects abstract <mapping>s to use a type-name, and if an abstract
<mapping> has neither name nor type-name you'll get this error. If you
can add either a type-name or a name to this <mapping> without messing
up the binding that should get you through it; otherwise, I'll get this
fixed later today and do an update.
- Dennis
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
Joanna Muench wrote:
Thanks for fixing that so quickly Dennis.
I need to update to Axis2 1.2 since in Axis2 1.1.1 I'm not able to see
the wsdl despite putting it under META-INF in the .aar (works in 1.2).
But the new wsdl2java doesn't like my jibx bindings and I get the
following error:
[java] Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: Non-abstract mapping for class
edu.iris.ws.base.Author needs element name.
[java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:256)
[java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
[java] at org.apache.axis2.wsdl.WSDL2Java.main
(WSDL2Java.java:21)
The error occurs with jibx 1.3, 1.4 and your most recent jars.
Thanks, Joanna
On 5/17/07, *Dennis Sosnoski* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I've updated the axis2-jibx.jar module for the 1.2 release of Axis2 to
fix some problems with serialization (discovered while testing my
validation module :-[ - see the prior post). The update is
available on
the axis2-jibx wiki page:
http://www.sosnoski.com/jibx-wiki/space/axis2-jibx
The same issues are likely causing problems some users have
experienced
using JiBX with Rampart on the 1.1.1 release. I'll try to backport the
fixes to the 1.1.1 code soon.
- Dennis
--
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]