Sunday, 15 February 2015

How to access hosted WCF webservice with jquery in html -



How to access hosted WCF webservice with jquery in html -

1.i have simple wcf webservice , hello method homecoming string "hello". have hosted on server. can access http://demo.test.com/myservice/service.svc?wsdl.

2.i want access through simple html page jquery call.

the problem html page not beingness able access service. haven't added on service except whatever comes in default visual studio 2010. need add together on server side service access them jquery call? how can able access them?

is service running on same domain page javascript code?

if not need enable cors http://en.wikipedia.org/wiki/cross-origin_resource_sharing create ajax requests other domain

jquery wcf web-services

No comments:

Post a Comment