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
scoopscoop 

web integration links, 2.0 and 2.5

Hi,

I have part of may application that is till using the old api's.  When I call it from an web intergation link in SFDC I was getting what appeared to be geographic responses for the API partner url so I could map those  to v2.0 endpoints.  Now I am getting responses like https://ssl.salesforce.com/services/Soap/u/2.5 which I can't seem to map to a url for the older api.  Is there a way to do this or do I need to upgrade my app?

I prefer the query capability of the 2.5 api but MUCH prefer the XML that is returned from the older api.

Thanks.

DevAngelDevAngel

Hi Scoop,

If we break the url into 2 pieces this will make sense. 

for xml-rpc: (1)[https://ssl.salesforce.com/] (2)[servlet/servlet.api]

For soap and wils: (1)[https://ssl.salesforce.com/] (2)[serivces/Soap/u/2.5]

So, the urls differ in part 2 only and ever.  This means that you can parse part one out of the url from the wil an combine it with part two for xml-rpc.

Another way of saying this is to drop the services/Soap/u/2.5 from the url and replace it with servlet/servlet.apil