Oh, blimey...yes, I am using the message style interface, Anne. Everything worked fine under Axis 1.1...actually not quite everything: there is an entirely unrelated problem that Axis 1.1 has, so I moved to Axis 1.2 which made that problem go away, the trouble is that I now have the 'message style interface' problem. I guess I should have RTFM but I didn't, I just assumed that Axis 1.2 would be a superset of Axis 1.1, as it were.
Jeff ----- Original Message ----- From: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, May 28, 2005 9:55 AM Subject: Re: Exception on wsdl2java What's the code you used to generate this WSDL? I get the sense that you're using the message style interface, in which case java2wsdl has absolutely no sense of what the appropriate WSDL should look like, and you can't expect the utility to work properly. When using the message style interface, you must handcraft your WSDL. Anne On 5/28/05, Jason Liu <[EMAIL PROTECTED]> wrote: > > 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\a xis\W > > > > >EB-INF\lib\commons-logging-1.0.4.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\com mons- > > > > >discovery-0.2.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\JAXRPC.JAR;C:\Tomcat\w ebapp > > > > >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\l ib\ws > > > > >dl4j-1.5.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\xmlsec-1.2.1.jar;C:\Tomca t\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\comm ons-c > > > > >onfiguration-1.1.jar;C:\Tomcat\webapps\axis\WEB-INF\lib\commons-lang-2.0.ja r;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. > > > > > > > > > > > > > > >
