Re: axis2, problem creating/testing a simple web service

Stcd Cerdec <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CACrD+RH-iuKWLbntaoo4WrNa1hWBsf6hSy8Cr_t5Kk-LKvOujw@mail.gmail.com>
I have to have something miss-configured with tomcat and axis2. I created a
new project (
http://crunchify.com/create-and-deploy-simple-web-service-and-web-service-client-in-eclipse/)
and generated a new webservice and I still get this version.aar under the
project directory and it contains some same stuff. No other aar is
generated.


~/webservices/CrunchifyWS/WebContent/WEB-INF/services$ jar vft version.aar
     0 Tue Apr 17 18:16:50 EDT 2012 META-INF/
   125 Tue Apr 17 18:16:48 EDT 2012 META-INF/MANIFEST.MF
     0 Tue Apr 17 18:16:48 EDT 2012 sample/
     0 Tue Apr 17 18:16:48 EDT 2012 sample/axisversion/
   655 Tue Apr 17 18:16:48 EDT 2012 sample/axisversion/Version.class
  1236 Tue Apr 17 18:16:48 EDT 2012 META-INF/NOTICE
  1159 Tue Apr 17 18:16:48 EDT 2012 META-INF/services.xml
 11359 Tue Apr 17 18:16:48 EDT 2012 META-INF/LICENSE
     0 Tue Apr 17 18:16:50 EDT 2012 META-INF/maven/
     0 Tue Apr 17 18:16:50 EDT 2012 META-INF/maven/org.apache.axis2/
     0 Tue Apr 17 18:16:50 EDT 2012 META-INF/maven/org.apache.axis2/version/
  3610 Tue Apr 17 17:29:02 EDT 2012
META-INF/maven/org.apache.axis2/version/pom.xml
   108 Tue Apr 17 18:16:48 EDT 2012
META-INF/maven/org.apache.axis2/version/pom.properties
:~/webservices/CrunchifyWS/WebContent/WEB-INF/services$





On Wed, Jun 11, 2014 at 1:01 PM, robertlazarski . <[email protected]>
wrote:

> On Tue, Jun 10, 2014 at 2:15 PM, Stcd Cerdec <[email protected]> wrote:
> > Oh ok I guess this version.aar?
> >
> > $ find . -print | grep aar
> > ./repository/services/version.aar
>
> Its unlikely you named your project 'version' and created a
> version.aar . Check the date on the file. My guess is your generated
> aar has a different file name. There is a version.aar that is part of
> the Axis2 distro ie not your generated file.
>
> This command should show a date that is before the timestamp of your
> generated aar.
>
> find . -name version.aar -exec ls -l {} \;
>
> Anyways, regardless of the aar file name ... it has to be in
> WEB-INF/services and contain the .class file of your service.
>
> - R
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.