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 Thu, 11 Jan 2007 12:57:10 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">
I hate to say this but... :-)<br>
<br>
I set up a virtual W2K box, installed jdk1.5 and Axis2 v1.1.1 and ran
wsdl2java.bat against the web service site and it worked just fine,
generating the skeleton client java files just as I hoped. Now I can
copy the files over to the Ubuntu box and keep going.<br>
<br>
I'll keep playing with the Linux config and see if I can't get it to
work there. Still open to suggestions.<br>
<br>
Thanx,<br>
Garth<br>
<br>
Garth Keesler wrote:
<blockquote cite="mid45A61AF5.7090605@gdcjk.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
Started over. Built a clean Ubuntu Edgy box with jdk1.5.0_10 and Axis2
v1.1.1. Put env stuff in .profile. Same result. Installed
j2sdk1.4.2_13, changed .profile, same result. Unrecognized option -uri.<br>
  <br>
I'm going to try it on XP and see what happens. If it works, I can
always xfer the generated stuff back to Linux.<br>
  <br>
Garth Keesler wrote:
  <blockquote cite="mid45A5592A.103@gdcjk.com" type="cite">
    <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
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