php - Create operation wcf with parameters matching database fields -
i want consume wcf service in php script , goal insert record database.
my database table has 4 fields..is possible create wcf service accept 4 parameters, 1 each field?
i guess similar asks web service input parameters.
or there better, more efficient way of achieving goal?
thanks
you can create wcf web service simple method accept 4 parameters.
[servicecontract] public interface iservice { [operationcontract] void insertfields(string field1 string field2, string field3, string field4); }
but there better ways this, example wcf data services , odata.
as want consume service php, think odata choice.
hope helps.
Comments
Post a Comment