R
Rory Becker
Hi All
I have a need for an asp.net page to make a call to a server which it did
not originate from when a button is clicked.
A simple call to pass 2-3 params and return a result. I am happy to use an
asynchronous model to do this.
I control both servers. I have been looking at Ajax and PageMethods (Ajax.Net
and Ajax Pro) and have even been looking at Calling a webservice from JS.
I need the client code for this to be as simple as possible as I am going
to have to generate it dynamically on the server side.
I looked at using pagemethods(Ajax.Net) but I realised that the page that
has to generate the calling code is not the page which willl be recieving
the call.
Should I call back to site 1 using pagemethods and then call out on the server
side to the Site2?
What is the single simplest way I can do this?
Thanks in advance
I have a need for an asp.net page to make a call to a server which it did
not originate from when a button is clicked.
A simple call to pass 2-3 params and return a result. I am happy to use an
asynchronous model to do this.
I control both servers. I have been looking at Ajax and PageMethods (Ajax.Net
and Ajax Pro) and have even been looking at Calling a webservice from JS.
I need the client code for this to be as simple as possible as I am going
to have to generate it dynamically on the server side.
I looked at using pagemethods(Ajax.Net) but I realised that the page that
has to generate the calling code is not the page which willl be recieving
the call.
Should I call back to site 1 using pagemethods and then call out on the server
side to the Site2?
What is the single simplest way I can do this?
Thanks in advance