You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by 蘇 軼(CEC) <s_...@cec-ltd.co.jp> on 2006/05/30 10:32:20 UTC
[Axis1.4] ??!! Why there is no type definition in wsdl generated by the Attachments sample??
hi all,
I want to parse the wsdl of the 'attachments' sample by accessing
the URL:
http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdl
but in the wsdl, there is no type definition of "tns1:DataHandler", so when
I use org.apache.axis.wsdl.gen.Parser.run(wsdlURL) to parse it, I got error
below :
Reading WSDL document from
'http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdl'
java.io.IOException: Type {urn:EchoAttachmentsService}DataHandler is
referenced but not defined/ [en]-(Type
{urn:EchoAttachmentsService}DataHandler is referenced but not defined.)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.j
ava:665)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Thread.java:534)
How to define the type "tns1:DataHandler"?
Thank you very much !
- sukie
----------------------------------
Maybe I have time difference of 12 hours, sorry for late reply. :)