[PATCH] fix for multiple wsdl import when using a classloader

"David Seager" <[email protected]>
Newsgroups gmane.comp.apache.webservices.wsif.devel
Message-ID <OF4243CEF5.E1265212-ON80256DAC.00366476-80256DAC.003B8257@portsmouth.uk.ibm.com>
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 [email protected]
patch.zip (application/zip, 629 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.