You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chuck Williams <ch...@manawiz.com> on 2006/01/12 04:04:20 UTC

Re: [Axis2] Adventures with 0.94

HI Chinthaka,

Eran Chinthaka <ch...@opensource.lk> wrote on 01/11/2006 04:23:23 PM:

>
> Chuck Williams wrote:
>
> >I've noticed these anomalies so far:
>
> >1. The war does not contain two required libraries, both part of
> >Apache Commons: FileUpload and IO. These are needed for uploading
> >services -- after adding version 1.1 of each, upload seems to work
> >fine.
>
>
> I just downloaded the war and it contains commons-fileupload-1.0.jar.
> And I checked the version I uploaded to the mirrors and it also
> contains that jar :(.
> About commons-io, do we need that ?

The binary war has commons-fileupload, but the build from the source
distribution produced a war that does not have it.  I built from the
source distribution with "maven war".  How do you create the binary
distribution (which is also the essence of my earlier question, since
WSDL2Java requires a complete top-level lib which no maven target
appears to create)?

Re. commons-io, the Upload Service action in the admin application blew
up for me (ClassNotFoundException) when following the intro steps in the
User Guide until I added it.  Then it worked fine.

On another topic, moving to the next section of the User Guide about
WSDL2Java, I hit a doc bug.  The -o ../samples/src should actually be -o
../samples as the output generated a src (i.e., I ended up with src/src,
which messed up the classpath).  That of course was easy to fix.

Thanks for your help,

Chuck


Re: [Axis2] Adventures with 0.94

Posted by Chuck Williams <ch...@manawiz.com>.
I'd be happy to submit any patches if (and probably when) I get to the
point of needing to fix a bug or add an enhancement.  In the interim, in
case it is helpful, here is working client and server code (filled in
service skeleton and client stub) for the Userguide Axis2SampleDocLit
example.  I see that at least one other user asked for this.

Thanks for creating this package -- so far it looks like it has
everything I need to create a high-performance distributed
cross-platform messaging infrastructure!

Chuck

Eran Chinthaka <ch...@opensource.lk> wrote on 01/12/2006 01:35:22 AM:

> BTW, if you are willing to contribute you can send us patches, and I'm
> more than happy to incorporate them. :-)
>
> Thanks,
> Chinthaka
>


Re: [Axis2] Adventures with 0.94

Posted by Eran Chinthaka <ch...@opensource.lk>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
BTW, if you are willing to contribute you can send us patches, and I'm
more than happy to incorporate them. :-)

Thanks,
Chinthaka

>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
 
iD8DBQFDxj75jON2uBzUhh8RAqwyAJ9MmKqXvWHQXD9hTBzGtltkpo1HzACdEhWj
JO3ivFcgAv7ci1zxBmBjzTQ=
=tErk
-----END PGP SIGNATURE-----


Re: [Axis2] Adventures with 0.94

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Chuck,

Thanks for your comments. We will update the userguide to match the
changes in Axis2.

Thanks,
Ruchith

On 1/12/06, Chuck Williams <ch...@manawiz.com> wrote:
>  Thanks Ruchith.  You guys probably already know this, but there are quite a
> large number of errors in the User Guide.  E.g., the Factory mechanism seems
> to be eliminated in favor of simple constructors in the classes generated by
> WSDL2Java (at least I hope so -- the  Factory subclasses are not there and
> the constructors are public).  The classes also have different names.
>
>  This may or may not be considered a bug, but the Samples project does not
> have a dependency on adb, which is required to use the classes generated by
> WSDL2Java.  I added that dependency and maven builds things fine, but there
> do not appear to be any targets to create the user guide example aar.  I'm
> using Netbeans 5, and so found the simplest solution was to create my own
> project completely outside of axis2, give it the right dependencies,
> generate the classes and resources (services.xml) with WSDL2Java there, and
> then build there.  This all worked fine and it is now successfully deployed.
>  Next we'll see if the it works when I create the client.
>
>  FYI, my filled-in business logic for the generated skeleton, with the
> corrections above, is attached (if this list accepts attachments).
>
>  Chuck
>
>
>
>  Ruchith Fernando <ru...@gmail.com> wrote on 01/11/2006 06:59:10
> PM:
>
>
>
>  Hi Chuck,
>
> Thanks for pointing out the issues. They are fixed in the latest SVN now.
>
> Thanks,
> Ruchith
>
>
> On 1/12/06, Chuck Williams <ch...@manawiz.com> wrote:
>
>
>  HI Chinthaka,
>
> Eran Chinthaka <ch...@opensource.lk> wrote on 01/11/2006 04:23:23 PM:
>
>
>
>  Chuck Williams wrote:
>
>
>
>  I've noticed these anomalies so far:
>
>
>  1. The war does not contain two required libraries, both part of
> Apache Commons: FileUpload and IO. These are needed for uploading
> services -- after adding version 1.1 of each, upload seems to work
> fine.
>
>  I just downloaded the war and it contains commons-fileupload-1.0.jar.
> And I checked the version I uploaded to the mirrors and it also
> contains that jar :(.
> About commons-io, do we need that ?
>
>  The binary war has commons-fileupload, but the build from the source
> distribution produced a war that does not have it. I built from the
> source distribution with "maven war". How do you create the binary
> distribution (which is also the essence of my earlier question, since
> WSDL2Java requires a complete top-level lib which no maven target
> appears to create)?
>
> Re. commons-io, the Upload Service action in the admin application blew
> up for me (ClassNotFoundException) when following the intro steps in the
> User Guide until I added it. Then it worked fine.
>
> On another topic, moving to the next section of the User Guide about
> WSDL2Java, I hit a doc bug. The -o ../samples/src should actually be -o
> ../samples as the output generated a src (i.e., I ended up with src/src,
> which messed up the classpath). That of course was easy to fix.
>
> Thanks for your help,
>
> Chuck
>
>
>
>
>
>


--
Ruchith

Re: [Axis2] Adventures with 0.94

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Chuck,

Thanks for pointing out the issues. They are fixed in the latest SVN now.

Thanks,
Ruchith


On 1/12/06, Chuck Williams <ch...@manawiz.com> wrote:
> HI Chinthaka,
>
> Eran Chinthaka <ch...@opensource.lk> wrote on 01/11/2006 04:23:23 PM:
>
> >
> > Chuck Williams wrote:
> >
> > >I've noticed these anomalies so far:
> >
> > >1. The war does not contain two required libraries, both part of
> > >Apache Commons: FileUpload and IO. These are needed for uploading
> > >services -- after adding version 1.1 of each, upload seems to work
> > >fine.
> >
> >
> > I just downloaded the war and it contains commons-fileupload-1.0.jar.
> > And I checked the version I uploaded to the mirrors and it also
> > contains that jar :(.
> > About commons-io, do we need that ?
>
> The binary war has commons-fileupload, but the build from the source
> distribution produced a war that does not have it.  I built from the
> source distribution with "maven war".  How do you create the binary
> distribution (which is also the essence of my earlier question, since
> WSDL2Java requires a complete top-level lib which no maven target
> appears to create)?
>
> Re. commons-io, the Upload Service action in the admin application blew
> up for me (ClassNotFoundException) when following the intro steps in the
> User Guide until I added it.  Then it worked fine.
>
> On another topic, moving to the next section of the User Guide about
> WSDL2Java, I hit a doc bug.  The -o ../samples/src should actually be -o
> ../samples as the output generated a src (i.e., I ended up with src/src,
> which messed up the classpath).  That of course was easy to fix.
>
> Thanks for your help,
>
> Chuck
>
>