$.ajax({
type:"POST",
url:"http://localhost/TestAndroidWcfService/Service1.svc/UplodImageAndroid",
ProcessData:false,
contentType:"application/json;charset=utf-8",
dataType:"json",
data: "{'custImg':'+searchRequest +'}",
success:function(data){
alert("Success:"+ data);
},
error:function(xhr,status,error){
alert("Error"+error);
}
});
Please note Im not sure but, the data parameter name
"custImg" and Webservice receiving parameter name
"custImg" must be same.