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 Fri, 08 Oct 2004 12:35:51 GMT
The following comment has been added to this issue:

     Author: Sergio Bossa
    Created: Fri, 8 Oct 2004 5:35 AM
Hello Jayachandra,

thank you for your suggestions.
I checked all your hints:

(i) I develop my web application with the NetBeans IDE 3.6 and deploy it into the embedded
Tomcat: all Axis jars in the web-inf/lib directory come from the 1.2RC1 version; I tried to
deploy the application into an external Tomcat, too, but nothing works. And I use the same
jar files during compiling and deploying.

(ii) happyaxis said me that all needed and optional component are installed.

(iii) I haven't compiled Axis, I use the binary distribution: should I compile it? Why? This
wasn't necessary in previous versions.

So, i was not able to solve the problem.
It's very critical, preventing me to use the new 1.2 version because I NEED to manipulate
the WSDL.
Any further suggestion?
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: Fri, 8 Oct 2004 5:35 AM
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