You need to sign in to do that
Don't have an account?
Cathy Anthony
Do I need a specific URL for my Web Developer?
We have a force.com org that uses a "Lead" type object called an "Inquiry". I would like my web developer to be able to create new Inquiries directly from our web forms using the API. I have followed the steps for generating the SOAP WDSL file, and I have the Cheat Sheet for this as well.
My web developer says they think they need a URL. They say it might look like this:
http://companyname.force.com/ExternalWebForm
Can you tell me what this is and how I would generate it? This is probably so simple it's silly, but I just don't see what to do next.
My web developer says they think they need a URL. They say it might look like this:
http://companyname.force.com/ExternalWebForm
Can you tell me what this is and how I would generate it? This is probably so simple it's silly, but I just don't see what to do next.
The endpoint URL for the Enterprise API will be at the end of the WSDL file in the <soap:address> element. It will be something like:
Note the /c/ rather than the /u/ and the addition of a configuration ID on the end of the URL.
All Answers
For the Partner API it will be https://login.salesforce.com/services/Soap/u/37.0
Once they have called the login() method to establish a session they will need ot change the Endpoint based on the returned ServerUrl.
Point them at Examples Using the Partner WSDL (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_partner_examples.htm). It has Java and C# examples of how to call the API.
The endpoint URL for the Enterprise API will be at the end of the WSDL file in the <soap:address> element. It will be something like:
Note the /c/ rather than the /u/ and the addition of a configuration ID on the end of the URL.
Thanks very much for pointing it out.