Re: Problem in Object transfer back to Client

2010-10-08 Thread Deepal Jayasinghe
The reason is you store the value as a class variable. When you do so (and if you have deploy it on the request scope), every time you invoke the service it creates a new instances, thus it returns null. To solve the problem, you need to deploy the service in a higher level session scope (e.g., so

Re: Need to know How many types of Client

2010-10-08 Thread dilly
Then you should be the fan of axis2 documents(Installation Guide, QuickStart Guide, User Guide, etc) and the source code, that's enough. You can't miss it. dilly(Ma Yu) Shanghai, China 于 2010-10-8 12:55, Karthik Nanjangude 写道: > > Hi > > >>. Eclipse j2ee will generate the client code and it is

Re: [axis2-*] missing imports for NetBeans 6.* but all ok building straigth with maven-*

2010-10-08 Thread Andreas Veithen
I haven't used NetBeans for years and I never tried to import Axis2 sources into NetBeans, but I can give you the following information: * The missing packages contain sources that are generated during the one of the test phases of the build. * There are similar problems when importing the sources

Re: org.apache.axis2.AxisFault: Unknow type can not serialize

2010-10-08 Thread Andreas Veithen
ADB doesn't work very well with generic collections (List). Try to use arrays instead. Andreas On Fri, Oct 8, 2010 at 11:18, Meet wrote: > > Hi Friends, > > I have simple webservice as shown below. > public class RegionalWorkService { >        Query query; >        public void setWorks(Query qry

org.apache.axis2.AxisFault: Unknow type can not serialize

2010-10-08 Thread Meet
Hi Friends, I have simple webservice as shown below. public class RegionalWorkService { Query query; public void setWorks(Query qry){ this.query=qry; System.out.println("before setWorks..."); for (Criterion criteria : query.getCriter

Re: Problem in Object transfer back to Client

2010-10-08 Thread Meet
Friends, I have found the cause of this problem. The auto genereted service.xml was not having socpe='application' in the paramenter. I dont know whether we can force this or not. But anyways..the issue is resolved. Thanks Regards, Mitesh Meet wrote: > > Hi, > I am struggling to find out the

Problem in Object transfer back to Client

2010-10-08 Thread Meet
Hi, I am struggling to find out the cause of this problem. //Webservice Code public class WeatherService{ Weather weather; public void setWeather(Weather weather){ this.weather = weather; } public Weather getWeather(){ return this.weather; } } //Client Code