DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15075>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15075

Generated class ServiceLocator hides java.net.MalformedURLException

           Summary: Generated class ServiceLocator hides
                    java.net.MalformedURLException
           Product: Axis
           Version: 1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using URL class from, say, jdk 1.3 java.net.URL constructor throws 
java.net.MalformedURLException when trying to create an https url.

This could be a problem, since the client does not know what has happened and 
receives null from ServiceLocator when calling ServiceLocator.getAgentFactory() 
method.

The piece of code looks like:

  try {
    endpoint = new java.net.URL(AgentFactory_address);
  }
    catch (java.net.MalformedURLException e) {
    return null; // unlikely as URL was validated in WSDL2Java
  }

Reply via email to