axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holger Uhlitzsch" <>
Subject Re: [axis2] axis2 1.3 base class return type trouble
Date Tue, 15 Apr 2008 08:42:02 GMT
Ok, i did some debugging and found the difference between client and server handling.
In line 90 of class org.apache.axis2.databinding.utils.BeanUtil there is

if (typeTable != null && qualified) {

On client typeTable is null and qualified is false and on the server the opposite, typeTable
is valid and qualified is true.
Now the server is trying to get qname for type from typeTable but the derived class B (coming
back to my example) is not in typeTable and the exception is thrown.

What do i have to do now to fix this problem?


-------- Original-Nachricht --------
> Datum: Fri, 11 Apr 2008 11:11:28 +0200
> Von: "Holger Uhlitzsch" <>
> An:
> Betreff: [axis2] axis2 1.3 base class return type trouble

> Hi all,
> i have trouble using axis2 1.3 with a POJO skeleton class und method
> return types.
> I have a class A which is a base type for other classes (value objects). A
> method of my webservice POJO skeleton class has class A as return type.
> Now i have a class B which is derived from base class A and is returned by
> this method.
> But if i call the method i get the following error message:
> org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Mapping qname not
> fond for the package: org.mypackage.vo
> Both classes have there own package.
> I have another method with class A as method parameter and if i call the
> method from client with class B as parameter it is ok.
> What do i have to do to make this working?
> Regards
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

GMX startet Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message