function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sneha shenoysneha shenoy 

to access web service available on salesforce

Hi team,
Could you please help me  to proceed with the following problem
-->How To access the web services available on salesforce using a external application
-->url which hosts the webservices provided by salesforce
Best Answer chosen by sneha shenoy
Rajiv Penagonda 12Rajiv Penagonda 12
Quick search returned this (https://developer.salesforce.com/forums/?id=906F00000008qlGIAQ) link. How to access webservice from external app is discussed in brief there. Short answer is to use WSDL. Google for that term.

URL which hosts the webservice will be something like:
https://na1-api.salesforce.com/services/Soap/class/MyWebService
if it is production, or
https://na51-api.salesforce.com/services/Soap/class/MyWebService
if it is Sandbox.

In general it will be of the form https://<YOUR SALESFORCE DOMAIN>/service/Soap/class/MyWebService 

Assuming your webservice is in a class called "MyWebService"

Hope this helps.

 

All Answers

Rajiv Penagonda 12Rajiv Penagonda 12
Quick search returned this (https://developer.salesforce.com/forums/?id=906F00000008qlGIAQ) link. How to access webservice from external app is discussed in brief there. Short answer is to use WSDL. Google for that term.

URL which hosts the webservice will be something like:
https://na1-api.salesforce.com/services/Soap/class/MyWebService
if it is production, or
https://na51-api.salesforce.com/services/Soap/class/MyWebService
if it is Sandbox.

In general it will be of the form https://<YOUR SALESFORCE DOMAIN>/service/Soap/class/MyWebService 

Assuming your webservice is in a class called "MyWebService"

Hope this helps.

 
This was selected as the best answer
sneha shenoysneha shenoy
thanks a lot Rajiv