I have a custom webservice deployed in an internal server. The service is accessing the database and fetching values that I am displaying on my SharePoint page.
I am calling the web service on a button click, that is on my SP page, using jQuery.
The issue it while I am connected to the intranet network my service is working fine because the server where service is deployed is the part of intranet network. Bus as soon as I am disconnecting from the intranet and accessing the page from Mobile or only internet. On button click my service becomes inaccessible.
Can anybody lead me the ways I can access the same from mobile/ only internet also. Is there any way to set up custom gateway between my site and service or database.