Hi,
We have a ASP.NET web service.
On the web service side there is one Class Class1 defined.
There are two methods in the web service (as follows):
GetterMethod()
- Creates object of Class1
- Populates properties of Class1
- Returns the object
SetterMethod()
- Accepts object of the Class1
- Saves to the Database
On the client we have created a Class similar to Class1 with same properties defined on web service side
We have two methods on the client
GetFromWebService()
- Calls the WebService.GetterMethod() and gets the object of Class1
SendToWebService()
- Creates object of Class1
- Populates the properties of Class1
- Calls WebService.SetterMethod() and supplies the object of Class1
Our issue is
The GetFromWebService() successfully gets the object of Class1
However, when we execute SendToWebService(), on the WebService side, SetterMethod(), the object received is NULL
Any thoughts on why the object is not cascaded to the WebService??
No comments:
Post a Comment