don't assume that wsdl URLs end in .wsdl
----------------------------------------

         Key: MOJO-335
         URL: http://jira.codehaus.org/browse/MOJO-335
     Project: Mojo
        Type: Bug

  Components: axistools  
    Reporter: John Didion


The standard URL for an axis service is http://host/path?wsdl. The plugin 
transforms this into http---host-path-wsdl. This means the scanner totally 
skips over it since it's looking for .wsdl extensions. Add the following fix to 
DefaultWSDL2JavaPlugin (~line 336):

{noformat}
String safeFileName = createSafeFileName(urlStr);
if (!safeFileName.endsWith(".wsdl")) {
    safeFileName += ".wsdl";
}
File localWsdl = new File( urlDownloadDirectory,  safeFileName);
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to