Banking sample problem

Romualdo.Gobbo.newlog.it's picture
Hi, I'm trying to execute the Banking sample, but when I try to call the Withdraw or Deposit operation, the system responds with and errorot nothing. I've included in the CLASSPATH the org.wso2.carbon.rule.core-3.0.0.jar just to remove the classes after each rule execution, with @TransientObject() notation as suggested, but without result: any idea? Regards, Romualdo
amila's picture

Banking sample

How did you create the service? I created an .aar[1] file as given in the sample code and could invoke using try it. Can you please try with the given .aar file? thanks, Amila. [1] http://people.apache.org/~amilas/BankingService.aar
Romualdo.Gobbo.newlog.it's picture

Hi Amila, your .aar sample

Hi Amila, your .aar sample code WORKS! I've found some little differences in my code, adding the suggested /conf folder, but in effect uploading the .aar the system warns that .rsl is not found. Could you help me if something is wrong in my .aar? You find it at http://newlog.s3.amazonaws.com/BankingService.aar In my previous trial I've used only the UI and not the .aar upload and maybe the automatic creation of services.xml could have some problem. Many thanks, Romualdo
amila's picture

Banding service

I think this is a problem with your .aar file packaging. I could not unpack it using jar -xvf BankingService.aar then I unpack it using the browser command which extracted files into a separate folder. Then from that folder I again created the .aar file using jar -cvf BankingService.aar conf/ lib/ META-INF/ and then it worked fine. see the new jar in the previous location.
Romualdo.Gobbo.newlog.it's picture

Hi Amila, now all is clear!

Hi Amila, now all is clear! I've revised my .aar procedure and all is working! Many thanks, Romualdo
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)