+ Start a Discussion
Cool_DevloperCool_Devloper 

Queries regarding Apex Webservices

Hi Friends
 
I have developed a custom webservice which uses salesforce API's to insert/update data into salesforce from a 3rd party application. Is there any way of hosting this web service on salesforce server itself??
 
If yes, than can i call it from an external application than and how??
 
Also, how can i link my custom web service to APEX??
 
Any pointers would be really helpful .....
 
Kndly help ....
 
Best Regards
Achin
SuperfellSuperfell
1. If you write it in apex.
2. import the wsdl, make the WS call.
3. you write them in apex.

You should probably read the apex docs.
Cool_DevloperCool_Devloper

Hi Simon

Thanks for your reply!!

Actualy, we are new to this Web Service concept, thats y look up for help. Hope u dont mind that!!

Simon, elaborating on the reply u gave us, can u tell where in salesforce can we write our web services??? Is it the Packages or triggers?? Can we pass parameters to this Web Service from some external application???

Please guide us......

Best Regards

Achin

pfarrellpfarrell

I am currently working along similar lines (though not identical).

You are going to want to take a look at the developer docs about Apex and Salesforce SOA at http://wiki.apexdevnet.com/index.php/Salesforce_SOA

You're going to want to create code packages under Setup -> Build -> Code and create stuff like...

global class MyCoolWebService {
webservice static String myMethod() {
...


Be sure to hit the message boards if you are new to Web Services, you're going to find that lots of people have encountered issues that you will face.

Message Edited by pfarrell on 08-24-2007 07:10 AM