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
11 years 33 weeks ago
11 years 34 weeks ago
11 years 35 weeks ago
11 years 37 weeks ago
11 years 37 weeks ago
11 years 38 weeks ago
11 years 38 weeks ago
11 years 38 weeks ago
11 years 39 weeks ago
11 years 40 weeks ago