How to send attribute information back to the client proxy?

I need information on how to send attribute information to a client proxy. For example, I have an open class client object that contains an identifier and a name. I am adding attributes to the id and client name properties. If I add a link to the service, I should get the attributes attached to the identifier and name properties. I can not see these attributes.

I think attributes are language functions, not web functions. Is there a way to accomplish this task using my own serializer? If so, can someone send me a link?

I will add attributes with a name and logical values ​​on top of the property, when I add a link to the service, based on the logical value of the attribute of the property, I am doing some task.

+3
source share
1 answer

Client proxies are based on WSDL or MEX; does not include metadata of a type other than metadata defined in WSDL / MEX. After all, what does this mean for a Java / unmanaged C ++ client?

.NET, WCF - .. DTO , . DTO, ORM .., ( ), ( , DLL).

partial class ; , ID/Name ( partial class ).

+1

Source: https://habr.com/ru/post/1789957/


All Articles