Calling a Page Process/AJAX Callback From A Pages Javascript
440705Jun 6 2011 — edited Jun 8 2011Hi
I want to to call a web service that takes various parameters to crop an image. I have created and tested the WS outside of Apex and all is OK.
Within APEX (v4.0.0.00.46) I have created a shared component/web service reference (uszing the wizard)
Within the page I created an ajax callback (using the wizard) - this is an on demand process
I am now unsure how to call this process from javascript.
Do I have to use the old (v3) style htmlget i.e. var ajaxResult = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=imageWS', 0);
or is there now a simpler way
Also is the 'APPLICATION_PROCESS=imageWS' and final 0 argument still correct given that this is a page process?
Thanks
Chris
Edited by: Chris2 on Jun 7, 2011 4:26 PM
Edited by: Chris2 on Jun 8, 2011 8:25 AM