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