axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Glanville" <>
Subject RE: axis on-the-fly wsdl generation problem
Date Wed, 16 Feb 2005 19:27:41 GMT
> I've got a deployed service which is perfectly functional, 
> but for which 
> the ?wsdl option fails with a simple "Exception - 
> java.lang.StackOverflowError" message (without a stack dump 
> or any other 
> information).  The tomcat/catalina logs are similarly 
> unhelpful.  Also 
> interesting is that java2wsdl doesn't seem to have any 
> problem with the 
> (undeployed) service.
> So questions:
> - any debugging suggestions?  I know how to get the servlet to use my 
> wsdl document instead of generating it, but it would be nice to know 
> that something else isn't wrong.
> - what is it that "?wsdl" is doing that is different than java2wsdl?

I recently had to deal with a similar problem.  It turns out that one of
my beanMapping beans had an infinite recursion in it's equals() method.
I believe that the equals was being called as part of the auto-WSDL
generation.  I found out which bean was causing the problem by removing
all beanMapping and typeMapping entries, and then adding them back one
by one.

So, the problem is probably in one of the beans that you're exporting.
At least, that's what was happening to me.

Hope this helps.


View raw message