Karim,

Looks like you don't take your own advice.

"don't give up so quickly." [1]

Thanks a ton for all your constructive and invaluable feedback!!!

thanks,
dims

[1] http://gcc.gnu.org/ml/gcc-help/2003-06/msg00069.html

On 2/22/07, Karim Hamed-abdelouahab <[EMAIL PROTECTED]> wrote:
Hi,
I want to express my sympathy for all the participant of this list.
Thank you for your participation and wish you a great work on this
project.

Best regards.
karim

On 2/22/07, Charitha Kankanamge <[EMAIL PROTECTED]> wrote:
>
>  Hi Karim,
>
>  I'll be able to help you to get a basic webservice up and running using
> Axis2. I'm not a Java guru, however I was able to get some understanding by
> going through the Axis2 documentation.
>
>  Lets start to create a simple webservice.
>
>  1. First you need to create a service implementation class.  Suppose your
> service implementation class adds two integer values and return the sum.
>
>  public class test {
>
>      public int addition(int x, int y){
>          return x+y;
>      }
>
>  }
>
>  Comiple and save it.
>
>  2. Now you need to create the service description file (services.xml) as
> follows. Add the contents given below in to a text document and save it as
> 'services.xml'
>
>  <service name="testservice">
>      <description>
>          My first web Service
>      </description>
>         <parameter name="ServiceClass" locked="false">test</parameter>
>       <operation name="addition">
>        <messageReceiver
>
> class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
>     </operation>
>  </service>
>
>  3. Axis2 deploys your service as a archive file (*.aar). An archive with
> the above service class and description file need to be created with the
> proper structure as follows.
>
>  - Create a directory (eg_- temp)
>  - Copy the above java class file (test.class)  in to the temp directory
> (Make sure to copy the compiled java class file in to the service archive
> directory, Not the java source file)
>  - Create a directory called META-INF under the temp directory
>  - Copy the above services.xml file to the /temp/META-INF directory
>
>  Now your archive structure should be like this.
>
>  temp --->
>          test.class
>          META-INF
>                     ---->services.xml
>
>  - Make the above directory as a service archive file (.aar file)
>    Go to temp directory and execute the following command
>    temp>jar -cvf  testservice.aar *
>
>  4. Now you have everything required to deploy an axis2 service. Copy the
> testservice.aar in to
> Tomcat_home/webapps/axis2/WEB-INF/services directory.
>
>  5. Refresh the services list in axis2 admin console (Navigate to
> http://localhost:8080/axis2/services/listServices and
> testservice should be diaplayed under available services list.)
>
>  Thats all. Your axis2 web service is up and running. :)
>
>  Please let me know if you face any issues when following the above steps.
>
>
>  Thanks and regards
>  Charitha
>
>
>  NB: Attached the service archive file (testservice.aar) for your reference.
>
>
>
>  Karim Hamed-abdelouahab wrote:
> Hi,
>
>  yes for me (not java guru) you seem to be aliens.
>
>  On 2/21/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2007-02-21 at 13:23 -0100, Karim Hamed-abdelouahab wrote:
>  > Hi Paul,
>  > I have all the standard distribution of Axis2 with all the samples
>  > (java sources) but how to build them and to test this clients (if it
>  > is?), there is no documentation, or better written I didn't find them.
>
>  Everything you need is shipped with the standard distribution. You have
>  to read the README files, that's why they have that name
>
>  > One is sure, for me the axis2 is not reachable for the common humain
>  > being (unreacheble in the comprehensive way).
>  >
>
>  Human being? Are we aliens???
>  Your readme files are written by aliens for aliens.
>
>
>  > Web services are great idea. This is probably a part of the needs of
>  > lot of companies. But it's seem to be not mature enough to implement
>  > them like it is know. I spent 3 days to anderstand how the services
>  > work. What I have to write to my boss? I didn't anderstandood the
>  > project and how works the service.
>  >
>  > Is there any other documentations or exemples or web side about the
> project.
>
> http://www.google.co.uk/search?source=ig&hl=en&q=axis2&btnG=Google
>  +Search&meta=
>  without remarks
>
> >
>  > Best regards.
>  > Karim
>  >
>  > On 2/21/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
>  > > Karim
>  > >
>  > > If you download the standard distribution of Axis2 there are plenty of
>  > > samples, including clients. Maybe we should clarify the documentation
>  > > about that.
>  > >
>  > > Paul
>  > >
>  > > On 2/21/07, Karim Hamed-abdelouahab <[EMAIL PROTECTED]> wrote:
>  > > > Hi Paul,
>  > > > thank you for your reply.
>  > > >
>  > > > The tomcat is working, the axis2 server is working. But I don't have
>  > > > any aar file as sample and I don't have any client to test the
>  > > > samples. Maybe I misanderstood all the documentation? Maybe.
>  > > >
>  > > > Best regards.
>  > > > karim
>  > > >
>  > > > On 2/21/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
>  > > > > Karim
>  > > > >
>  > > > > 1) make sure tomcat is working.
>  > > > > 2) install the war in the webapps directory of your tomcat install
>  > > > > 3) browse localhost:8080/axis2/ to see if Axis2 is installed
>  > > > > 4) find the webapps/axis2/WEB-INF/services directory
>  > > > > 5) Get a sample service AAR file and drop it in here
>  > > > >
>  > > > > Paul
>  > > > >
>  > > > >
>  > > > > On 2/21/07, Karim Hamed-abdelouahab <[EMAIL PROTECTED]> wrote:
>  > > > > > Hello everybody,
>  > > > > > the documentation of axis is for me incomprehensible. I'm not a
> java
>  > > > > > gourou (from example for me the classpath was set correctly but
> it's
>  > > > > > still not working) It sound maybe for you simple. It isn't for
> me.
>  > > > > >
>  > > > > > What I could make with the documentation is to install the server
> on
>  > > > > > tomcat, using the war file. That's all.
>  > > > > >
>  > > > > > I couldn't start any service in the samples. I couldn't
> anderstand how
>  > > > > > to deploy a service on the server. I couldnt't start any client
> on
>  > > > > > other host. Simply nothing was for me understanble in the
>  > > > > > documentation.
>  > > > > >
>  > > > > > Can someone gives me another documents or a web side?
>  > > > > >
>  > > > > > Thank you in advance.
>  > > > > > Karim
>  > > > > >
>  > > > > >
> ---------------------------------------------------------------------
>  > > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
>  > > > > >
>  > > > > >
>  > > > >
>  > > > >
>  > > > > --
>  > > > > Paul Fremantle
>  > > > > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>  > > > >
>  > > > > http://bloglines.com/blog/paulfremantle
>  > > > > [EMAIL PROTECTED]
>  > > > >
>  > > > > "Oxygenating the Web Service Platform", www.wso2.com
>  > > > >
>  > > > >
> ---------------------------------------------------------------------
>  > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  > > > > For additional commands, e-mail: [EMAIL PROTECTED]
>  > > > >
>  > > > >
>  > > >
>  > > >
>  > > > --
>  > > > Mr K. HAMED-ABDELOUAHAB
>  > > >
>  > > >
> ---------------------------------------------------------------------
>  > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  > > > For additional commands, e-mail: [EMAIL PROTECTED]
>  > > >
>  > > >
>  > >
>  > >
>  > > --
>  > > Paul Fremantle
>  > > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>  > >
>  > > http://bloglines.com/blog/paulfremantle
>  > > [EMAIL PROTECTED]
>  > >
>  > > "Oxygenating the Web Service Platform", www.wso2.com
>  > >
>  > >
> ---------------------------------------------------------------------
>  > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  > > For additional commands, e-mail: [EMAIL PROTECTED]
>  > >
>  > >
>  >
>  >
>  > --
>  > Mr K. HAMED-ABDELOUAHAB
>  >
>  >
> ---------------------------------------------------------------------
>  > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Mr K. HAMED-ABDELOUAHAB

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to