User371513798 posted
Dear Users,
I am using WCF REST in .net framework 4.0 and made following two different solutions
- One is hosting WCF REST 4.0 service contains POST PUT DELETE GET operations :
||parameter object type:
||result stores in SQL DB:
||:used ServiceHost as Factory="System.ServiceModel.Activation.WebServiceHostFactory"
so in browser it shows endpoint is not defined||
- Another one is webform contains JSON scripting in the client application consuming this service
All things are working correctly till WCF REST service and client JSON script webform exists in same solution.The problem comes when I put them in two different solution (i.e deploy in different separate application).I unable to make service refrence because
it shows error of "metadata not defined",so I also not able to use code behind.I already defined endpoints as mexHttp and webHttp properly (WebConfig).Please tell me the solution how I communicate in Cross domain.