Hi,
I go throug your tutorial and i have got every things work with me even the client tutorial.
I have added some class variable like "private String status " , and some methods in the web service java class , which are
public void setStatus(String status){
this.status= status;
}
public String getStatus(){
return "the status is" + name
}
Then when i generate the web service stub class i tried to set the status value first and then call getStatus method after, However i get always null value for the status variable can you help me to understand where is the problem .
this is the code of my client main class:
MyServiceStub myServiceStub = new MyServiceStub();
SetStatus setStatus = new SetStatus(); // generated by stub class
setStatus.setName("Running.....");
myServiceStub.setStatus(setStatus);
GetStatusResponse response=myServiceStub.getStatus();
System.out.println("status: "+response.get_return());
Regards
Salwa alzhmi
Recent comments
12 years 7 weeks ago
12 years 8 weeks ago
12 years 9 weeks ago
12 years 11 weeks ago
12 years 11 weeks ago
12 years 12 weeks ago
12 years 12 weeks ago
12 years 12 weeks ago
12 years 13 weeks ago
12 years 14 weeks ago