Skip to Content
0
Former Member
Jul 10, 2012 at 08:18 AM

RFC web service not called from different desktop/systems using javascript code

28 Views

Dear All,

I am using an RFC web service in an offline interactive scenario. I have created a data connection using a local wsdl file saved from DEV system. Now I have created a new button and added the javascript code for calling the web service in the click event. I am able to call the RFC on click of this button from my system/desktop and it works fine. But the problem is that if I download this form from some other system/desktop and then use this button it doesn’t work(doesn't work means that it will prompt that following url is accessed: Allow/Deny but after allowing nothing happens). Both systems are on same lan network and connected to single server. And surprising part is that when I use the execute button generated from data connection it works absolutely fine on all systems.

I am not able to figure out the reason for the same. Also I want to know how we can dynamically create the web service URL based on the system environment. Since I don’t want the URL hardcoded plus I don’t want to change it every time when the form moves to QA and Prod.

Thanks & Regards