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
14 years 24 weeks ago
14 years 26 weeks ago
14 years 27 weeks ago
14 years 29 weeks ago
14 years 29 weeks ago
14 years 30 weeks ago
14 years 30 weeks ago
14 years 30 weeks ago
14 years 31 weeks ago
14 years 31 weeks ago