axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Zhai (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2468) WSDL2Java fails to generate Java class and returns MalformedURLException If the path of WSDL file contains DBCS
Date Tue, 25 Apr 2006 20:10:03 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2468?page=all ]

Andy Zhai updated AXIS-2468:
----------------------------

    Attachment: wsdl2java_dbcs.JPG

Screenshot of command line result with jre1.4 and jre1.5 

> WSDL2Java fails to generate Java class and returns MalformedURLException If the path
of WSDL file contains DBCS
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-2468
>          URL: http://issues.apache.org/jira/browse/AXIS-2468
>      Project: Apache Axis
>         Type: Bug

>   Components: WSDL processing
>     Versions: 1.3
>  Environment: Windows XP sp2 simplified Chinese, java 1.5.0_06,
>     Reporter: Andy Zhai
>  Attachments: wsdl2java_dbcs.JPG
>
> when using jdk1.5.0_06. WSDL2Java fails to generate Java class and returns MalformedURLException
If the path of WSDL file contains DBCS.
> (when using jdk1.4, no problems happened)
> steps:
> 1. enter into the samples\addr directory of axis-1_3,
> 2. creat a new folder named ??path
> 3. copy AddressBook.wsdl to ??path\??AddressBook??.wsdl
> 4. execute java org.apache.axis.wsdl.WSDL2Java ??path\??AddressBook??.wsdl
> my command line result with jre1.4 and 1.5
> D:\apps\axis-1_3\samples\addr>setpath
> D:\apps\axis-1_3\samples\addr>set CLASSPATH=D:\apps\axis-1_3\lib\axis.jar;D:\app
> s\axis-1_3\lib\commons-discovery-0.2.jar;D:\apps\axis-1_3\lib\commons-logging-1.
> 0.4.jar;D:\apps\axis-1_3\lib\jaxrpc.jar;D:\apps\axis-1_3\lib\saaj.jar;D:\apps\ax
> is-1_3\lib\servlet.jar;D:\apps\axis-1_3\lib\activation.jar;D:\apps\axis-1_3\lib\
> log4j-1.2.8.jar;D:\apps\axis-1_3\lib\wsdl4j-1.5.1.jar;
> D:\apps\axis-1_3\samples\addr>C:\mnt\java\sun\j2sdk1.4.2_11\bin\java.exe org.apa
> che.axis.wsdl.WSDL2Java ??path\??AddressBook??.wsdl
> log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
> esourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> D:\apps\axis-1_3\samples\addr>C:\mnt\java\sun\jdk1.5.0_06\bin\java.exe org.apach
> e.axis.wsdl.WSDL2Java ??path\??AddressBook??.wsdl
> log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
> esourceBundle).
> log4j:WARN Please initialize the log4j system properly.
> java.net.MalformedURLException: no protocol: ??path\??AddressBook??.wsdl
>         at java.net.URL.<init>(URL.java:567)
>         at java.net.URL.<init>(URL.java:464)
>         at java.net.URL.<init>(URL.java:413)
>         at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
> Entity(XMLEntityManager.java:968)
>         at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
> ocVersion(XMLVersionDetector.java:184)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:798)
>         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:764)
>         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
> java:148)
>         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.
> java:250)
>         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc
> umentBuilderImpl.java:292)
>         at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
>         at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
>         at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
> a:482)
>         at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
>         at java.lang.Thread.run(Thread.java:595)
> D:\apps\axis-1_3\samples\addr>

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


Mime
View raw message