You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/12/04 17:36:56 UTC
DO NOT REPLY [Bug 15075] New: -
Generated class ServiceLocator hides java.net.MalformedURLException
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: axis-dev@xml.apache.org
ReportedBy: akrivitsky@miratech.ua
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
}