axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "seba.wagner@gmail.com" <seba.wag...@gmail.com>
Subject org.apache.axis2.AxisFault: Mapping qname not fond for the package ... Axis2's wsdl just misses some
Date Sat, 03 Mar 2012 18:52:28 GMT
Hi,

we face some problems with Objects that are deeply nested in each other and
that have a List<TypeXYZ> somewhere.
Axis2 cannot find a mapping for that Class.

WSDL generate by Axis2: http://pastebin.com/pL6D31Rz

Have a look at the attribute:
<xs:element minOccurs="0" name="organisation_users" nillable="true"
type="xs:anyType"/>

Why "anyType" ?

Users.java is here:
https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/persistence/beans/user/Users.java

private List<Organisation_Users> organisation_users = new
ArrayList<Organisation_Users>();

Why does Axis2 not map Organization_Users to a correct type ?
Is there a way of registering classes programmatically that Axis2 does not
find natively ?
Is there a special config in Axis2 that influences how deep nested objects
can be in Axis2 ?

This is the Service the WSDL is generated by Axis2:
https://svn.apache.org/repos/asf/incubator/openmeetings/trunk/singlewebapp/src/calendarservice/org/openmeetings/axis/services/CalendarWebServiceFacade.java

This is Axis 1.6.1.

Thanks!
Sebastian

-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Mime
View raw message