Of course i can create a jira issue, but i do not have a patch. I just did a test and commented out the code block of the if statement. And it does working. But i do think this may not be the right solution for the problem i do have.
If i have a POJO webservice with methods using a base class, but on runtime derived classes of the base class will be send und received, the generated WSDL file does not contain the derived classes. Because axis2 don't know about them. So do i have to register these classes in any way? So that axis2 knows them and they became available in the WSDL file? If the derived classes are not contained in the WSDL file the clients don't know about them and can't received them. Regards Holger -------- Original-Nachricht -------- > Datum: Thu, 17 Apr 2008 11:29:17 +0530 > Von: Deepal jayasinghe <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: [axis2] axis2 1.3 base class return type trouble > Holger Uhlitzsch wrote: > > 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? > > > Thank you very much for such a detailed mail. The best thing is create a > jira and attach your patch. Then it is just a matter of applying the > patch to fix the issue. > > Thank you! > deepal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
