• halfaquark
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Just starting the development of a cold fusion app to access SF. Cannot seem to find a way to reset the SOAP URL... Very simple code follows..

<cfobject
       webservice="salesforce"
       name="salesforce">


<cfset login=salesforce.login("[user@]","[password]")>

<cfset query=salesforce.query("select fieldList from objectType")>

Error received:

Could not perform web service invocation "query" because AxisFault
faultCode: {urn:fault.enterprise.soap.sforce.com}UNKNOWN_EXCEPTION
faultSubcode:
faultString: UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService
faultActor:
faultNode:
faultDetail:
{urn:fault.enterprise.soap.sforce.com}fault:
UNKNOWN_EXCEPTION
Destination URL not reset. The URL returned from login must be set in the SforceService

Can this work in CF?

If not, I have noticed an array of java classes that come with the JSP sample. Are there any documentation available for these classes?

Message Edited by halfaquark on 10-14-2005 01:19 AM