Re: Am i rightly building and deploying my java WS?

2008-03-27 Thread Charitha Kankanamge

You are describing two different deployment mechanisms.

1. AAR based deployment

You should create *.aar with proper structure as explained in 
http://ws.apache.org/axis2/1_3/quickstartguide.html#deploy


2. Deploying pojos using POJODeployer

This mechanism allows users to drop .class file and make that into a 
service.


Steps:
--
I. Open AXIS2_HOME/conf/axis2.xml and edit the following entry.
deployer extension=.class directory=pojo 
class=org.apache.axis2.deployment.POJODeployer/

II. Restart axis2 server
III. copy your .class file to AXIS2_HOME/repository/pojo

regards
Charitha
learn_n_share wrote:


is it possible to make a .aar file without having to write the xml stuff
(services.xml and other xml file)


Yalamanchi, Durga wrote:
 


This is what I tried successfully:

Create .aar file as attached and deploy that file either using the axis2
admin (I tried this) or placing the .aar file in
C:\apache\Tomcat-6.0\webapps\axis2\WEB-INF\services (for Tomcat deploy).

-Durga N. Yalamanchi

-Original Message-
From: learn_n_share [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2008 9:46 AM

To: axis-user@ws.apache.org
Subject: Am i rightly building and deploying my java WS?


Hi
for making my java web service, I simply follow these steps which enable
me
to publish the WS on the Axis2 home page's list of available services.
1) I make my java program and compile the .class file
2) I put the .class file in Axis2_home\webapps\pojo, i.e, i simply
make a
directory named pojo inside Axis2_home directory.
Thats it and my web service gets deployed, and is available in the list
of
services.



--
View this message in context:
http://www.nabble.com/Am-i-rightly-building-and-deploying-my-java-WS--tp
16301159p16301159.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Am i rightly building and deploying my java WS?

2008-03-26 Thread learn_n_share

Hi
for making my java web service, I simply follow these steps which enable me
to publish the WS on the Axis2 home page's list of available services.
1) I make my java program and compile the .class file
2) I put the .class file in Axis2_home\webapps\pojo, i.e, i simply make a
directory named pojo inside Axis2_home directory.
Thats it and my web service gets deployed, and is available in the list of
services.



-- 
View this message in context: 
http://www.nabble.com/Am-i-rightly-building-and-deploying-my-java-WS--tp16301159p16301159.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: Am i rightly building and deploying my java WS?

2008-03-26 Thread Yalamanchi, Durga
This is what I tried successfully:

Create .aar file as attached and deploy that file either using the axis2
admin (I tried this) or placing the .aar file in
C:\apache\Tomcat-6.0\webapps\axis2\WEB-INF\services (for Tomcat deploy).

-Durga N. Yalamanchi

-Original Message-
From: learn_n_share [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2008 9:46 AM
To: axis-user@ws.apache.org
Subject: Am i rightly building and deploying my java WS?


Hi
for making my java web service, I simply follow these steps which enable
me
to publish the WS on the Axis2 home page's list of available services.
1) I make my java program and compile the .class file
2) I put the .class file in Axis2_home\webapps\pojo, i.e, i simply
make a
directory named pojo inside Axis2_home directory.
Thats it and my web service gets deployed, and is available in the list
of
services.



-- 
View this message in context:
http://www.nabble.com/Am-i-rightly-building-and-deploying-my-java-WS--tp
16301159p16301159.html
Sent from the Axis - User mailing list archive at Nabble.com.


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


HelloWorld.aar
Description: HelloWorld.aar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Am i rightly building and deploying my java WS?

2008-03-26 Thread learn_n_share

is it possible to make a .aar file without having to write the xml stuff
(services.xml and other xml file)


Yalamanchi, Durga wrote:
 
 This is what I tried successfully:
 
 Create .aar file as attached and deploy that file either using the axis2
 admin (I tried this) or placing the .aar file in
 C:\apache\Tomcat-6.0\webapps\axis2\WEB-INF\services (for Tomcat deploy).
 
 -Durga N. Yalamanchi
 
 -Original Message-
 From: learn_n_share [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 26, 2008 9:46 AM
 To: axis-user@ws.apache.org
 Subject: Am i rightly building and deploying my java WS?
 
 
 Hi
 for making my java web service, I simply follow these steps which enable
 me
 to publish the WS on the Axis2 home page's list of available services.
 1) I make my java program and compile the .class file
 2) I put the .class file in Axis2_home\webapps\pojo, i.e, i simply
 make a
 directory named pojo inside Axis2_home directory.
 Thats it and my web service gets deployed, and is available in the list
 of
 services.
 
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Am-i-rightly-building-and-deploying-my-java-WS--tp
 16301159p16301159.html
 Sent from the Axis - User mailing list archive at Nabble.com.
 
 
 -
 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]
 

-- 
View this message in context: 
http://www.nabble.com/Am-i-rightly-building-and-deploying-my-java-WS--tp16301159p16321419.html
Sent from the Axis - User mailing list archive at Nabble.com.


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