I've created a web service that uses a generic type Response<TCode, TData>
and so I'm ending up with elements like
- ResponseOfResponseCodeUserData
- ResponseOfResponseCodeArrayOfRightData
etc.
Functionally works just fine but I'm wondering if there's a way to name these particular elements?
EDIT:
Here's an example.
[return: XmlElement("AuthenticationResponse")]
[WebMethod]
public Response<ResponseCode, AuthenticationData> AuthenticateProcess(string ProcessName, string Password)
{
// ... Code ...
}
Still returns
<ResponseOfResponseCodeAuthenticationData (...) >
Any ideas?