axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12367] New: - re: java2wsdl fails when parameter extends java.util.LinkedList
Date Fri, 06 Sep 2002 16:01:02 GMT
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=12367>.
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=12367

re: java2wsdl fails when parameter extends java.util.LinkedList

           Summary: re: java2wsdl fails when parameter extends
                    java.util.LinkedList
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: james@usf.edu


I will include a file that will hopefully show this. I had to make some
modifications, including creating a test class, but the final modifiation,
removing the getGraph method leads me to not testing this, as I fear that I may
have broken something I need if I create a new jar file.

Here is what I get when I try to use the linkedlist parameter:
java -cp .. org.apache.axis.wsdl.Java2WSDL -o graphingtools.wsdl -l
"http://alina.acomp.usf.edu:8080/axis/services/GraphingTools" -w All -T 1.2 -n
"urn:GraphingTools" -p"edu.usf.acomp.axis" "urn:GraphingTools"
edu.usf.acomp.axis.GraphingTools
vi TestLinkedList.java- The class edu.usf.acomp.axis.TestLinkedList extends
non-bean class java.util.LinkedList.  An xml schema anyType will be used to
define edu.usf.acomp.axis.TestLinkedList in the wsdl file.

java -cp .. org.apache.axis.wsdl.WSDL2Java -o .. -d Request -S false -s
-Nurn:GraphingTools edu.usf.acomp.axis graphingtools.wsdl
java.io.IOException: Type {http://www.w3.org/2001/XMLSchema} is referenced but
not defined.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:485)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:385)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:372)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:359)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:247)
        at java.lang.Thread.run(Thread.java:539)

Mime
View raw message