I have to consume webservice that have a method like this:
SubmitUser(UserReg user, HttpPostedFileBase image)
{
// webservice side processing`
}
UserReg is a custom class on webservice side that have several properties like username,id,latitude,longitude etc..
I have to submit my data through this method and save webservice response after execution of this method. All this action will perform on button click. How can I do this all.
I am using .net framework 4.5 and mvc 4
Note: i am only end user of webservice
Remember SubmitUser is a webservice side method and my URL is
somepage.com/api/SubmitUser