Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

SalesForce CFC
Project Home Blog Forums Known Issues External Project Link Contact Project

SalesForce CFC Issue: Code changes for compatibility with API version 19

Name: Code changes for compatibility with API version 19
ID: 1
Project: SalesForce CFC
Type: Enhancement
Area: Code
Severity: Normal
Status: Open
Related URL:
Creator: Billy Cox
Created: 07/22/10 3:48 PM
Updated: 07/22/10 3:48 PM
Description: The following edits will make Login, Queryobject and Saveobject functions in Salesforce.cfc compatible with recent API versions.
Tested with partner WSDL, API version 19.

------------------------------------------------

original line:
<cfargument name="loginURL" type="string" required="false" default="https://www.salesforce.com/services/Soap/u/11.1" />

replacement line:
<cfargument name="loginURL" type="string" required="false" default="https://login.salesforce.com/services/Soap/u/19.0" />


------------------------------------------------

Change all occurences of 'sobject.enterprise.soap.sforce.com'

to: 'sobject.partner.soap.sforce.com'

------------------------------------------------

original line:
<cfset stLocal.totalRecords = xmlSearch(arguments.soapXML, "//*[name()='ns1:size']") />

replacement line:
<cfset stLocal.totalRecords = xmlSearch(arguments.soapXML, "//*[name()='size']") />

------------------------------------------------

original line:
<cfset stLocal.records = xmlSearch(arguments.soapXML, "//*[name()='ns1:records']") />

replacement line:
<cfset stLocal.records = xmlSearch(arguments.soapXML, "//*[name()='records']") />

------------------------------------------------
original line:
<cfset stLocal.aQueryLocator = xmlSearch(arguments.soapXML, "//*[name()='ns1:queryLocator']") />

replacement line:
<cfset stLocal.aQueryLocator = xmlSearch(arguments.soapXML, "//*[name()='queryLocator']") />
History: Created by billy@oldworldspices.com (Billy Cox) : 07/22/10 3:48 PM

To add a comment to this bug, please login using the link above.