ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Seager" <SEA...@uk.ibm.com>
Subject [PATCH] fix for multiple wsdl import when using a classloader
Date Thu, 25 Sep 2003 10:49:59 GMT
Dear WSIF Development team,

I've found a bug to do with recursive wsdl imports when a Classloader is
specified on the WSIFServiceFactory.getService() call:

- in a client, do the method call WSIFServiceFactory.newInstance
()getService(<http location of wsdl>, getClass().getClassLoader(), null,
null, null, null);
- in the http location of the wsdl, specify a wsdl file on a webserver
which has an import using a relative url:
<import namespace="http://this/" location="secondwsdl.wsdl">
- put the second wsdl file in the same HTTP directory as the first. In the
second wsdl, specify another relative import:
<import namespace="http://this/" location="thirdwsdl.wsdl">
Put the third wsdl in the same HTTP directory.

You should see an exception saying cannot locate import document, relative
to "file:http://webserver/second.wsdl".

I hope to add to the unit tests to cover this problem.

(See attached file: patch.zip)

Regards,


David Seager
IBM Hursley
Email seager@uk.ibm.com
Mime
View raw message