You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2004/10/25 17:07:45 UTC
[jira] Resolved: (AXIS-1595) Bug in generateWSDL() method.
[ http://issues.apache.org/jira/browse/AXIS-1595?page=history ]
Davanum Srinivas resolved AXIS-1595:
------------------------------------
Resolution: Invalid
Error caused by user code.
thanks,
dims
> Bug in generateWSDL() method.
> -----------------------------
>
> Key: AXIS-1595
> URL: http://issues.apache.org/jira/browse/AXIS-1595
> Project: Axis
> Type: Bug
> Components: WSDL processing
> Versions: 1.2RC1
> Environment: JDK 1.4.2_04-b05
> Tomcat 5.0.19 / 5.0.25
> Linux
> Reporter: Sergio Bossa
> Priority: Critical
>
> 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()
> {
> super.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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira