Re: Documentation tuning Axis2 webservices?

2008-03-30 Thread Deepal jayasinghe





Is there any documentation on how to tune Axis2 webservices,
Well not at Apache Axis2 level , but I can point you to some other open 
source project which does that using Axis2 [1]


[1] : http://wso2.org/projects/commons/throttle

Thank you!
Deepal

e.g. if we have 2 we



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



Documentation tuning Axis2 webservices?

2008-03-27 Thread Davy Toch

Hi,

Is there any documentation on how to tune Axis2 webservices, e.g. if we 
have 2 webservices in the Axis2 war like:


   Axis2Container.war/
   WEB-INF/
  services/
 Service1.aar
 Service2.aar

then:

1) is there a way to prioritize Service1 so it has a higher execution 
priority then Service2
2) is there a way to limit the number of instances of every webservice 
(similar to EJB instance pooling)


Best regards,
Davy Toch




- Disclaimer: http://www.minfin.fgov.be/disclaimer.htm

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



Re: More documentation about axis2

2007-02-22 Thread Karim Hamed-abdelouahab

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=falsetest/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
   tempjar -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=ighl=enq=axis2btnG=Google
 +Searchmeta=
 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

Re: More documentation about axis2

2007-02-22 Thread Davanum Srinivas

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=falsetest/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
tempjar -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=ighl=enq=axis2btnG=Google
  +Searchmeta=
  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

More documentation about axis2

2007-02-21 Thread Karim Hamed-abdelouahab

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]



Re: More documentation about axis2

2007-02-21 Thread Paul Fremantle

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]



Re: More documentation about axis2

2007-02-21 Thread Karim Hamed-abdelouahab

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]



Re: More documentation about axis2

2007-02-21 Thread Karim Hamed-abdelouahab

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.
One is sure, for me the axis2 is not reachable for the common humain
being (unreacheble in the comprehensive way).

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.

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]



Re: More documentation about axis2

2007-02-21 Thread Michele Mazzucco
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???

 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=ighl=enq=axis2btnG=Google
+Searchmeta=
 
 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]



Re: More documentation about axis2

2007-02-21 Thread Karim Hamed-abdelouahab

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=ighl=enq=axis2btnG=Google
+Searchmeta=

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]





--
Mr K. HAMED-ABDELOUAHAB

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



Re: More documentation about axis2

2007-02-21 Thread Davanum Srinivas

Karim,

See http://ws.apache.org/axis2/. Click on QuickStart Guide did you
try that at all?

-- dims

On 2/21/07, Karim Hamed-abdelouahab [EMAIL PROTECTED] 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=ighl=enq=axis2btnG=Google
 +Searchmeta=
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]




--
Mr K. HAMED-ABDELOUAHAB

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

Re: More documentation about axis2

2007-02-21 Thread Anne Thomas Manes

Karim,

Given that you aren't a Java guru, perhaps you'll have more luck using
a web services framework for a simpler language. You might try .NET.
Visual Studio will guide you through the process.

Anne

On 2/21/07, Davanum Srinivas [EMAIL PROTECTED] wrote:

Karim,

See http://ws.apache.org/axis2/. Click on QuickStart Guide did you
try that at all?

-- dims

On 2/21/07, Karim Hamed-abdelouahab [EMAIL PROTECTED] 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=ighl=enq=axis2btnG=Google
  +Searchmeta=
 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 

Re: More documentation about axis2

2007-02-21 Thread Paul Fremantle

Karim

I suggest you try here:

\axis2-1.1.1\samples\pojo\README.txt

This is a good starting point. All the Axis2 samples use the ANT
toolkit to build (ant.apache.org). This is a well known build
framework, and if you learn this, then you will find it used in all
the Open Source Java projects.

Once you have built the sample, you will always find the AAR file in
the build directory. You can copy this into the services\ directory
(as I wrote up earlier). That will install the service.

To create a client you can look at some of the other samples, or you
can use the WSDL2Java tool directly.

Do you use a Java editor like eclipse? It has the ability to create a
project based on an existing Ant build file, which I find really
useful. Axis2's WSDL2Java can create Ant build files for you, so this
makes it really easy to import your client or service into Eclipse.

Regards,
Paul

On 2/21/07, Karim Hamed-abdelouahab [EMAIL PROTECTED] 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.
One is sure, for me the axis2 is not reachable for the common humain
being (unreacheble in the comprehensive way).

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.

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]





--
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 

Re: More documentation about axis2

2007-02-21 Thread Charitha Kankanamge

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=falsetest/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
 tempjar -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=ighl=enq=axis2btnG=Google
+Searchmeta=

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

documentation in axis2?

2006-03-31 Thread SOA Work

One last question for axis2 and I got all the information I need ;-) 
Thank you all for the very important and interesting information you gave me 
the last weeks.

Is the documentation tag supported in axis2? Axis was the only framework I 
knew which supported the metadata information to be generated into the 
resulting wsdl. 
Is there a way to specifiy the information (f.e. by adding documentation tags 
to the entries in service.xml)?

thx a lot
Dominik
___
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192