axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garth Keesler <gar...@gdcjk.com>
Subject Re: WSDL2Java Question
Date Wed, 10 Jan 2007 21:47:21 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Pertinent env vars: <br>
<br>
JAVA_HOME=/usr/dev/jdk1.5.0_10<br>
JAR_HOME=/usr/dev/jars<br>
LANG=en_US.UTF-8<br>
GDMSESSION=default<br>
JUNIT_HOME=/usr/dev/junit4.1<br>
HISTCONTROL=ignoredups<br>
AXIS_LIBRARIES=/usr/dev/axis2-1.1.1/lib<br>
XERCES_HOME=/usr/dev/xerces-2_9_0<br>
JAVAMAIL_HOME=/usr/dev/javamail-1.4<br>
JAVA_ENDORSED_DIRS=/usr/dev/jwsdp-2.0/jaxp/lib:/usr/dev/jwsdp-2.0/jaxp/lib/endorsed:/usr/dev/apache-tomcat-5.5.20/bin:/usr/dev/apache-tomcat-5.5.20/common/lib:/usr/dev/apache-tomcat-5.5.20/webapps/axis2/WEB-INF/lib<br>
SOAP_HOME=/usr/dev/soap-2_3_1<br>
PATH=/usr/dev/jdk1.5.0_10/bin:/usr/dev/apache-ant-1.6.5/bin:/usr/dev/axis2-1.1.1/bin:/usr/dev/jwsdp-2.0:/usr/dev/jwsdp-2.0/jaxrpc/bin:/usr/dev/maven-2.0.4:/usr/dev/maven-2.0.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games<br>
<br>
Do I need more/less/different?<br>
<br>
Thanx<br>
<br>
Gul Onural wrote:
<blockquote
 cite="mid87AC5F88F03E6249AEA68D40BD3E00BE0D533C22@zcarhxm2.corp.nortel.com"
 type="cite">
  <title></title>
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3020" name="GENERATOR">
  <div dir="ltr" align="left"><span class="134443121-10012007"><font
 color="#0000ff" size="2">Most probably...</font></span></div>
  <div dir="ltr" align="left"><span class="134443121-10012007"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="134443121-10012007"><font
 color="#0000ff" size="2">What I have defined to get wsdl2Java working :</font></span></div>
  <div dir="ltr" align="left"><span class="134443121-10012007"></span>&nbsp;</div>
  <div dir="ltr" align="left"><span class="134443121-10012007"><font
 color="#0000ff" size="2">AXIS2_HOME environment variable pointing to
axis2 installation directory and&nbsp;</font></span><span
 class="134443121-10012007"><font color="#0000ff" size="2">%AXIS2_HOME%\bin
in my PATH</font></span></div>
  <br>
  <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
  <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> Garth
Keesler [<a class="moz-txt-link-freetext" href="mailto:garthk@gdcjk.com">mailto:garthk@gdcjk.com</a>]
<br>
  <b>Sent:</b> Wednesday, January 10, 2007 4:33 PM<br>
  <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a><br>
  <b>Subject:</b> Re: WSDL2Java Question<br>
  </font><br>
  </div>
Yes, both AXIS_HOME and JAVA_HOME point to their correct directories.
However they are defined in /etc/profile and not in my local profile.
Could that be it?<br>
  <br>
Thanx<br>
  <br>
Gul Onural wrote:
  <blockquote
 cite="mid87AC5F88F03E6249AEA68D40BD3E00BE0D533BD4@zcarhxm2.corp.nortel.com"
 type="cite">
    <meta content="MSHTML 6.00.2900.3020" name="GENERATOR">
    <div dir="ltr" align="left"><span class="611422221-10012007"><font
 color="#0000ff" size="2">Have you defined AXIS_HOME environment
variable pointing to your axis2 installation ?</font></span></div>
    <br>
    <div class="OutlookMessageHeader" dir="ltr" align="left"
 lang="en-us">
    <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Garth
Keesler [<a class="moz-txt-link-freetext" href="mailto:garthk@gdcjk.com">mailto:garthk@gdcjk.com</a>]
    <br>
    <b>Sent:</b> Wednesday, January 10, 2007 4:23 PM<br>
    <b>To:</b> Axis User<br>
    <b>Subject:</b> WSDL2Java Question<br>
    </font><br>
    </div>
The examples below are straight from <a class="moz-txt-link-freetext"
 href="http://ws.apache.org/axis/java/reference.html#WSDL2JavaReference">http://ws.apache.org/axis/java/reference.html#WSDL2JavaReference</a>
and neither obviously works (for me). I can't even get --help to work.<br>
    <br>
garthk@gdkws:~$ java org.apache.axis.wsdl.WSDL2Java --help<br>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/wsdl/WSDL2Java<br>
    <br>
garthk@gdkws:~$ java org.apache.axis.wsdl.WSDL2Java --help <a
 class="moz-txt-link-freetext"
 href="http://appsrv:8080/axis2/services/wsVendor">http://appsrv:8080/axis2/services/wsVendor</a><br>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/wsdl/WSDL2Java<br>
    <br>
garthk@gdkws:~$ java org.apache.axis.wsdl.WSDL2Java <a
 class="moz-txt-link-freetext"
 href="http://appsrv:8080/axis2/services/wsVendor?wsdl">http://appsrv:8080/axis2/services/wsVendor?wsdl</a><br>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/wsdl/WSDL2Java<br>
    <br>
Here's a snippet from the web site instructions:<br>
    <p>Usage: java org.apache.axis.wsdl.WSDL2Java [options] WSDL-URI<br>
Options:</p>
    <pre class="code">-h, --help
  print this message and exit
  </pre>
What am I doing wrong?<br>
    <br>
Thanx,<br>
Garth<br>
    <br>
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated"
 href="mailto:axis-user-unsubscribe@ws.apache.org">axis-user-unsubscribe@ws.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated"
 href="mailto:axis-user-help@ws.apache.org">axis-user-help@ws.apache.org</a>
  </blockquote>
  <br>
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-unsubscribe@ws.apache.org">axis-user-unsubscribe@ws.apache.org</a>
For
additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:axis-user-help@ws.apache.org">axis-user-help@ws.apache.org</a>
</blockquote>
<br>
</body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message