Vipul Limbachiya
Vipul Limbachiya

Reputation: 131

asp.net webservice with jquery on different domain

I got to work on PHP app which requires a webservice call to an Asp.net webserivce. Client insist to call this webservice with POST directly via jquery.

My knowledge says its not possible to call different domain webservice from JS and I'll have to create a proxy page to consume this webservice.

So I just want to confirm, is there any hack around to consume webservice directly from jQuery POST call and parse response (Which is XML not JSON) on page.

Thanks

Upvotes: 0

Views: 478

Answers (1)

redsquare
redsquare

Reputation: 78687

No there is no way around it x-browser. Server Proxy or json-p are your choices.

Upvotes: 1

Related Questions