I’m trying to make webservices call from a jQuery mobile website on an ASP.NET base.
The webservices take post parameter and return an XML.
I cannot change the webservice side.
I’m facing the cross domain problem, and from my understanding, I need to use a proxy.
I’m thinking of using a generic handler but I don’t know how to do that.
My services methods looks like that:
https://myserver.com/WCF/Info.svc/MyMehod1
https://myserver.com/WCF/Info.svc/MyMehod2
And take Post parameters
What would be a good way to do that in c#?
Thanks
I finally got it to work.
for those who have the same problem,
on the client side, I have used a generic handler to do the webservice call and expose the result.
Handler sample:
jQuery/Ajax call:
And now it’s working 🙂