can you show all of the java files wsdl META-INF\services.xml META-INF\module.xml
any applicable build.xml or pom.xml you are implementing for building the app thanks, Martin Gainty ______________________________________________ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 21 Feb 2011 15:09:59 +0000 From: salarzi_...@yahoo.com Subject: [Axis2] Soap session Management, Book Example To: java-dev@axis.apache.org Hi, I am using the client service example with soap session enabled, however I am not getting the desired results. I have used the book example of "Quick Start Axis2" where the service code is as following. MessageContext msgContext = MessageContext.getCurrentMessageContext(); ServiceContext sc = msgContext.getServiceContext(); Object prevValue = sc.getProperty("VALUE"); int prevIntValue = 0; if(prevValue != null){ prevIntValue = Integer.parseInt((String)prevValue); } int currentValue = prevIntValue+value; sc.setProperty("VALUE", currentValue); return currentValue; } and the client code is as following. ServiceClient sc = new ServiceClient(); sc.engageModule("addressing"); Options opts = new Options(); opts.setTo(new EndpointReference("http://localhost:8080/axis2/services/WSAddSessionService?wsdl")); opts.setAction("urn:add"); sc.setOptions(opts); OMElement element = sc.sendReceive(createPayLoad(10)); System.out.println(element.getFirstElement().getText()); opts.setManageSession(true); sc.setOptions(opts); element = sc.sendReceive(createPayLoad(10)); System.out.println(element.getFirstElement().getText()); However when I call the service I get the value 10 every time. Can someone kindly suggest what I am missing. In fact I have also changed the services.xml as following, <service name="WSAddSessionService" scope=" soapsession" > Sardar Hussain