Replace the axis2 with WSO2

neoqing's picture

Hi All:

             I have developed a set of web service ,deploy with axis2 and the system has been delivered successfully. now I find WSO2 is better than axis2. I want to replace the axis2 with WSO2. but I cannot make sure  it is a seamless migration. could you give me some suggestions?it's better to give me a check list.

 

thanks in advance

             

afkham_azeez's picture

Should be a simple migration

Hi Neo, Nice to hear that. WSO2 WSAS uses the same Axis2 core. The deployment model, programming model and most other functionalities are the same. WSAS is simply a value addition layer which has integrated security, reliable messaging, tooling, advanced monitoring, cluster management, data services and many more things. You should be able to drop your services into the WSAS repository and everything should work fine. You may need to modify the main axis2.xml file so that it is compatible with your axis2.xml, if you have changed it. Please try deploying your services on WSAS and let us know if you come across any problems. It would be better if you could post your questions to the wsas user list (http://wso2.org/mail) . Feel free to contact us if you come across any issues. -- Regards Afkham Azeez azeez@wso2.com  
neoqing's picture

replacement successfully

Hi Azeez:      Thank you for your reply.yes, it's a simple migration.I have replaced axis2 with wso2 successfully.so far I do not find any  difference besides access point( because I changed the context ). But I find your article "10 Minute Guide to Installing WSO2 WSAS on WebLogic" (http://wso2.org/library/880)is too old. :) and it's better to add a step at section "Defining the JDBC Datasource", following is my suggestion: after finish above all,in the Target the data source frame select a server as the target server for the data source.    If I find any problem I'll post here.thank you for I can use so great software!       
afkham_azeez's picture

Great!

That's great news. I'll update that article when I am able to find some time. Thanks for your feedback.   Regards Afkham Azeez
neoqing's picture

I meets problem

Hi Azeez:                  As we discussed before,I replaced the axis2 with WSO2, it's OK,but now I face a big issue.                  In our project ,we deployed a axis2 AxisObserver and register it as a listener at axis2.xml, I only find a axis2.xml  at /home/weblogic/.wso2wsas/conf ,I change this one, but it does not work.                Could you please give me some suggestions?thank you !       neo
afkham_azeez's picture

Set axis2.xml system property

Hi, Can you try setting the axis2.xml system property in your WebLogic start up script;   -Daxis2.xml=/home/weblogic/.wso2wsas/conf/axis2.xml   Regards Afkham Azeez
neoqing's picture

does not work

Hi Azeez:       I have done follow your suggestion, but it still does not work.     I think I need to describe the scenario. actually ,I deploy  a observer ,who extends org.apache.axis2.engine.AxisObserver and listens all events of service(deploy,start,remove,stop), before replacement,the observer is OK when I stop/start service at the AXIS2 admin UI,but now the observer does not work  when I stop/start the service at WSO2 admin UI. that means WSO2 admin UI does not trigger the observer or it uses another mechanism?  what shall I do if I need the same functions. thanks.     neo
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)