What's the solution of this error message: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'.
-
Hello I am using client WSDL file, i want to generate proxy class from it. I am using WSDL.exe to generate that proxy class. But i am getting this error: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'. So, is there any perfect solution?
-
Hello I am using client WSDL file, i want to generate proxy class from it. I am using WSDL.exe to generate that proxy class. But i am getting this error: Unable to cast object of type 'System.Xml.XmlElement' to type 'System.Web.Services.Description.ServiceDescriptionFormatExtension'. So, is there any perfect solution?
What have you tried? or post your code. Your information is to little too judge. Anyway you have 2 different types of objects that do not work together.
In Word you can only store 2 bytes. That is why I use Writer.
-
What have you tried? or post your code. Your information is to little too judge. Anyway you have 2 different types of objects that do not work together.
In Word you can only store 2 bytes. That is why I use Writer.
This is a simple process of generating proxy class from outside(client) WSDL file to access their web methods using asp.net. In general, client has provided WSDL files, so using that we have to call their web services. so to use web service or to call them we need to add web reference of that wsdl files to our application and need to generate a proxy class so that we can call client methods for requesting the data and get response from their side. But when i am trying to generate proxy class from the url of WSDL given by client at that time in command prompt of framework sdk using the command "wsdl /l:cs /http://a.com/b.wsdl", i got this error.