I have a web-service that returns a custom object, but now I want to call some of the object's methods eg to change some of it's values (but also for other needs), but how can I do that?
Do I have to set the object up as a web-service or how?
The web-service is created in Java and the client is created in C#
but now I want to call some of the object's methods to change some of it's values, but how can I do that?
This will depend on the protocol you are using but because you mentioned Java service and .NET client I assume SOAP. This is not possible with SOAP. There are no methods in the generated client proxy. It's a POCO. You could modify the properties of this client object and pass it to some server method for processing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.