Wayne,
Your error is being caused by this type reference:
<element name="completeAttributes" nillable="true" type="tns6:Attributes" />
in the definition of the MessageElement type.
tns6 is declared as:
xmlns:tns6="http://sax.xml.org".
This namespace has been imported:
<import namespace="http://sax.xml.org" />
but you don't provide a schemaLocation, and there is no schema at the
specified URI.Therefore wsdl2java doesn't know how to process the
tns6:Attributes type.
Anne
On 5/28/05, Wayne Richards <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a problem in trying to generate a client using the attached wsdl
> file.
> I don't understand the message or how to fix the problem. Has anyone had
> this problemm before and is able to give some advice?
>
> the error is:
>
>
> C:\workspace\axisNDNHandlers\src>wsdl2java
> C:\workspace\axisNDNHandlers\src>java -cp
> C:\Tomcat\webapps\axis\WEB-INF\lib\act
> ivation.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar;C:\Tomcat\webapps\axis\W
> EB-INF\lib\commons-logging-1.0.4.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-
> discovery-0.2.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\JAXRPC.JAR;C:\Tomcat\webapp
> s\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\mail.jar;C
> :\Tomcat\webapps\axis\WEB-INF\lib\saaj.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\ws
> dl4j-1.5.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\xmlsec-1.2.1.jar;C:\Tomcat\web
> apps\axis\WEB-INF\lib\commons-attributes-api-2.1.jar;C:\Tomcat\webapps\axis\WEB-
> INF\lib\commons-collections-3.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-c
> onfiguration-1.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-lang-2.0.jar;C:\
> Tomcat\webapps\axis\WEB-INF\lib\commons-math-1.0.jar;C:\Tomcat\webapps\axis\WEB-
> INF\lib\jakarta-regexp-1.3.jar;. org.apache.axis.wsdl.WSDL2Java
> "NDNGATEWAY.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.io.IOException: Type {http://sax.xml.org}Attributes is referenced but
> not d
> efined.
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol
> Table.java:663)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543
> )
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
> a:516)
> at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
> a:493)
> at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)
> at java.lang.Thread.run(Unknown Source)
> C:\workspace\axisNDNHandlers\src>
>
> Any help appreciated
> Regards
> Wayne
>
>
> ________________________________
> Find local movie times and trailers on Yahoo! Movies.
>
>
>
>