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 50 weeks ago
15 years 1 day ago
15 years 1 week ago
15 years 3 weeks ago
15 years 3 weeks ago
15 years 4 weeks ago
15 years 4 weeks ago
15 years 4 weeks ago
15 years 5 weeks ago
15 years 5 weeks ago