Robert,
Where's this code generator guide--the only doc I've
seen is the 2 pages of instructions on using WSDL2Java, found in the
userguide.html file. Is there something more than
that?
-Dave
From: robert lazarski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 2:04 PM
To: [email protected]
Subject: Re: Code generating skeleton won't work
HTH,
Robert
http://www.braziloutsource.com
On 3/15/06, Dave
Naden <[EMAIL PROTECTED] >
wrote:
Hi,
I'm trying out the tutorial from the Axis2 User's Guide (0.94), Windows XP.
Section: Writing Web Services by Code Generating Skeleton
I've run the WSDL2Java tool, but when I try to compile, I continually get errors. Here's the script I'm using to compile:
<script>
setlocal EnableDelayedExpansion
rem loop through the libs and add them to the class path
set AXIS2_CLASS_PATH=%AXIS_HOME%
FOR %%c in (%AXIS_HOME%\lib\*.jar) DO set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;%%c
FOR %%c in (C:\tomcat50-jwsdp\webapps\axis2\WEB-INF\lib\*.jar) DO set AXIS2_CLASS_PATH=!AXIS2_CLASS_PATH!;%%c
javac -classpath %AXIS2_CLASS_PATH%;. org/apache/axis2/userguide/xsd/impl/*.java
javac -classpath %AXIS2_CLASS_PATH%;. org/apache/axis2/userguide/*.java
javac -classpath %AXIS2_CLASS_PATH%;. org/apache/axis2/userguide/xsd/*.java
Endlocal
</script>
Here's some of the console output:
b\xmlunit-1.0.jar;. org/apache/axis2/userguide/xsd/impl/*.java
org/apache/axis2/userguide/xsd/impl/SOAPStructImpl.java:14: interface expected here
public class SOAPStructImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements
org.apache.axis2.userguide.xsd.SOAPStruct
^
org/apache/axis2/userguide/xsd/impl/EchoStructParamDocumentImpl.java:59: cannot resolve symbol
symbol : method set (org.apache.axis2.userguide.xsd.SOAPStruct)
location: class org.apache.axis2.userguide.xsd.SOAPStruct
target.set(echoStructParam);
^
org/apache/axis2/userguide/xsd/impl/EchoStructReturnDocumentImpl.java:59: cannot resolve symbol
symbol : method set (org.apache.axis2.userguide.xsd.SOAPStruct )
location: class org.apache.axis2.userguide.xsd.SOAPStruct
target.set(echoStructReturn);
^
3 errors
Can anybody tell me what's going on?
Thanks,
Dave Naden
