• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with Axis 1.0 and wsdl2java  RSS feed

 
Owen Thomas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's The Error
C:\Working\JavaDev\XMLTES~1>java org.apache.axis.wsdl.WSDL2Java getProvider.wsdl
java.io.IOException: Type {http://schemas.xmlsoap.org/wsdl/}return is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol Table.java:461)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:377 )
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:364)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:350)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:244)
at java.lang.Thread.run(Unknown Source)

Here's my classpath
AXIS_DIST=C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib
Classpath=C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\axis.jar;
C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\log4j-core.jar;
C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\jaxrpc.jar;
C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\log4j-core.jar;
C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\commons-logging.jar;
C:\Program Files\Apache Tomcat 4.0\webapps\axis\WEB-INF\lib\tt-bytecode.jar;
C:\Program Files\ApacheTomcat 4.0\webapps\axis\WEB-INF\lib\wsdl4j.jar;
C:\JavaWebDevKit\Web Services\Axis\axis-1_0\lib\saaj.jar;
C:\Working\Java\java_xml_pack-summer-02\jaxp-1.2\jaxp-api.jar;
C:\Working\Java\java_xml_pack-summer-02\xerces-2_0_2\XercesImpl.jar;
C:\Working\Java\java_xml_pack-summer-02\xerces-2_0_2\xmlParserAPIs.jar;
Here's my Java File which I deployed successfully
package xmlTestBed;
public class getProvider {
public String getProvider()
{
String myStr = "Provider";
return myStr;
}
}
All help greatly appreciated
Owen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!