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?

Regards

-------- Original-Nachricht --------
> Datum: Fri, 11 Apr 2008 11:11:28 +0200
> Von: "Holger Uhlitzsch" <[EMAIL PROTECTED]>
> An: [email protected]
> 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: http://www.gmx.net/de/go/smartsurfer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to