R
Rahul
I am getting following error:
1) For a xml file "Request.xml" we created a schema "Request.xsd".
2) With the help of xsd.exe we got the C# file Request.cs.
3) We tried to send the object of Request.cs to a webservice method
SaveRequest(Request req).
4) Scenario is like same Request.cs is referenced by both server and
client.
5)When we are trying to pass the req object of type Request we are getting
unable to cast error.
Is this expected? If so, are there any workarounds?
Please help us in solving this.
Thanks !!!!!
1) For a xml file "Request.xml" we created a schema "Request.xsd".
2) With the help of xsd.exe we got the C# file Request.cs.
3) We tried to send the object of Request.cs to a webservice method
SaveRequest(Request req).
4) Scenario is like same Request.cs is referenced by both server and
client.
5)When we are trying to pass the req object of type Request we are getting
unable to cast error.
Is this expected? If so, are there any workarounds?
Please help us in solving this.
Thanks !!!!!