• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Problems with Axis 1.0 and wsdl2java

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic