Fix (APAR): PQ98284 Status: Test Release: 6.0 Operating System: All Supersedes Fixes: PQ98285 CMVC Defect: PQ98284 Byte size of APAR: 42997 Date: 2005-01-10 Abstract: WSDL2java exception against BasicAuth WSDL Description/symptom of problem: We have problem with this running in our RAD wizard, specifically during the second HTTP Get request for the WSDL. This is what I found out by looking at the code, during server or client scenarios, 2 HTTP Get requests are issued for the WSDL. Both requestions are invoked in SymbolTable, the first one from public void populate(String uri, String username, String password) and then this method calls public void populate(String context, Document doc, boolean readWithResolver) to resolves import files. The first call always suceeds because it uses the username and password in the HTTP request. However, the second call always fails because no user name is used when an InputSource is created in Resolver (line 292 in Resolver). When the WSDLReader uses this Resolver (/WSDLLocator) to get the InputSource, the WSDLReader will thorws an exception saying it cannot read the WSDL (HTTP Error 401). This is exactly what we encountered in our wizard. Directions to apply fix: NOTE: YOU MUST FIRST DOWNLOAD THE UPDATE INSTALLER TOOL IN ORDER TO INSTALL A FIX. The Fix Installer can be downloaded from the following link: http://www-3.ibm.com/software/webservers/appserv/support/index.html 1) Create temporary "fix" directory to store the jar file: UNIX: /tmp/WebSphere/fix Windows: c:\temp\WebSphere\fix 2) Copy jar file to the directory 3) Shutdown WebSphere 4) Follow the Fix installation instructions that are packaged with the Fix Installer on how to install the Fix. 5) Restart WebSphere 6) The temp directory may be removed. Directions to remove fix: NOTE: FIXES MUST BE REMOVED IN THE ORDER THEY WERE APPLIED. DO NOT REMOVE A FIX UNLESS ALL FIXES APPLIED AFTER IT HAVE FIRST BEEN REMOVED. YOU MAY REAPPLY ANY REMOVED FIX. Example: If your system has fix1, fix2, and fix3 applied in that order and fix2 is to be removed, fix3 must be removed first, fix2 removed, and fix3 re-applied. 1) Shutdown WebSphere 2) Follow the instructions that are packaged with the Fix Installer on how to uninstall the Fix. 3) Restart WebSphere Directions to re-apply fix: 1) Shutdown WebSphere 2) Follow the Fix instructions that are packaged with the Fix Installer on how to uninstall and reinstall the Fix. 3) Restart WebSphere Additional Information: