Some of the docs show the output for xmlbeans - which produces the schema
directory. You can use xmlbeans via '-d xmlbeans'  . However, the current 
default is ADB (Axis databinding), which is what you are seeing. 

ADB can handle simpler schemas but not as wide of a range that xmlbeans can. 

The docs haven't been updated yet in some places to reflect the the default 
switch to ADB.  

HTH,
Robert 
http://www.braziloutsource.com

Em Quinta 16 Março 2006 12:01, o bruno wanadoo escreveu:
> Hi dave
>
> The docs are not up2date actually
> Files are not produced in this directory
> I heard that this will be corrected in version 0.95
>
> bye
>
> -----Message d'origine-----
> De : Dave Naden [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 16 mars 2006 15:49
> À : [email protected]
> Objet : RE: Code generating skeleton won't work
>
> Before I go to ant, I want to try the command line tool, if possible.
>
> Here's my startup:
>
> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -o
> ..\samples\src -p org.apache.axis2.userguide
>
> When I run it, it creates 11 java source files, a services.xml file, and a
> build.xml file.  But the user's guide says it will create a schema
> directory with schema file inside as well--which it doesn't do.
>
> The attached shows the DOS window.
>
> Any ideas what's wrong here?
>
> Thank you!
>
> -Dave
>
>
> -----Original Message-----
> From: robert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 16, 2006 8:02 AM
> To: [email protected]
> Subject: Re: Code generating skeleton won't work
>
> Here you go:
>
> http://ws.apache.org/axis2/0_94/CodegenToolReference.html
>
> See the sections "Example build file using the custom Ant task"  and
> "Invoking the Code Generator from Ant"
>
> If you get stuck just go ahead and ask.
>
> HTH,
> Robert
> http://www.braziloutsource.com
>
> Em Quinta 16 Março 2006 09:50, o Dave Naden escreveu:
> > 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
> >
> >
> > I'm not a windows user so my only advice is perhaps you might consider
> > using ant ? If so take a look at the code generator guide.
> >
> > 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
>
> --
> http://www.braziloutsource.com/
>
> ---------------------------------------------------------------------------
>- -----------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.

-- 
http://www.braziloutsource.com/

Reply via email to