Anne is correct, there are some other namespace definitions such as: xmlns:tns3="http://dom.w3c.org";, there is no such schema found at that URL, so it will error out too. I ran BEA's clientgen against the wsdl and it complained about that namespace.

         Is axis 1.2 too buggy?



From: Anne Thomas Manes <[EMAIL PROTECTED]>
Reply-To: Anne Thomas Manes <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Exception on wsdl2java
Date: Sat, 28 May 2005 09:19:20 -0400

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.
>
>
>
>


Reply via email to