用AXIS开发WEB SERVICES,用WSDL2Java生成客户端代码报错:java.net.MalformedURLException: no protocol:
java.net.MalformedURLException: no protocol: FileSearch.wsdl
at java.net.URL. <init> (URL.java:537)
at java.net.URL. <init> (URL.java:434)
at java.net.URL. <init> (URL.java:383)
at gnu.xml.aelfred2.XmlParser.pushURL(XmlParser.java:3414)
at gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:159)
at gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:320)
at gnu.xml.aelfred2.XmlReader.parse(XmlReader.java:294)
at gnu.xml.dom.JAXPFactory$JAXPBuilder.parse(JAXPFactory.java:186)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:384)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
at java.lang.Thread.run(Thread.java:534)
------解决方法--------------------------------------------------------
url写的不对