axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (AXIS-1595) Bug in generateWSDL() method.
Date Sat, 09 Oct 2004 19:51:51 GMT
The following comment has been added to this issue:

     Author: Tom Jordahl
    Created: Sat, 9 Oct 2004 12:51 PM
I just checked in a change to the CVS source tree that will unwrap the InvocationTargetException
and you will see the real exception.

The bottom line is if you are see in incompatible class change, you need to re-build something.
 It is highly unlikely that this is an Axis bug.

View this comment:

View the issue:

Here is an overview of the issue:
        Key: AXIS-1595
    Summary: Bug in generateWSDL() method.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis
             WSDL processing

   Reporter: Sergio Bossa

    Created: Thu, 7 Oct 2004 10:41 AM
    Updated: Sat, 9 Oct 2004 12:51 PM
Environment: JDK 1.4.2_04-b05
Tomcat 5.0.19 / 5.0.25

When I override the generateWSDL() method in my handlers, in order to modify the automatically
generated WSDL, I get a java.lang.reflect.InvocationTargetException caused by a java.lang.IncompatibleClassChangeError.
This is a code snippet from my handler:

public class RemoteWSDLHook extends BasicHandler
    private Map wsdlCache;
    public void init()
        wsdlCache=Collections.synchronizedMap(new HashMap());
    public void invoke(MessageContext ctx)
    public void generateWSDL(MessageContext ctx)
    throws AxisFault
        if (wsdlCache.containsKey(ctx.getService().getServiceDescription().getName()))

The exception is thrown in the if clause.
The same code works fine with Axis 1.1 version.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message