I want to send a class instance to my Web Service(ASP.NET – C#).
How can I do?
I want to send a class instance to my Web Service(ASP.NET – C#). How
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If this is a SOAP enabled web service you need to first generate a client proxy by pointing svcutil.exe (or wsdl.exe if you are using .NET 2.0) to the WSDL that is exposed by the web service. You could also do this directly in Visual Studio (Add Service Reference…). This will generate the client proxy classes that will enable you to invoke service methods and pass them object instances they accept.
If this is not a SOAP web service you will need to provide more details.