• RYaker
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 19
    Questions
  • 15
    Replies
According to what I read in the docs the calls should work the same describeObjectResult should include an array of the Fields[] in a given object. However if I use endpoint

https://www.salesforce.com/services/Soap/u/5.0

I get back a list of Fields[], and if I use endpoint

https://www.salesforce.com/services/Soap/u/7.0

Fields[] is a single field not an array.

I am using the API from the old PHP toolkit.
  • March 09, 2006
  • Like
  • 0
According to what I read in the docs the calls should work the same describeObjectResult should include an array of the Fields[] in a given object. However if I use endpoint

https://www.salesforce.com/services/Soap/u/5.0

I get back a list of Fields[], and if I use endpoint

https://www.salesforce.com/services/Soap/u/7.0

Fields[] is a single field not an array.

I am using the API from the old PHP toolkit.
  • March 09, 2006
  • Like
  • 0
Besides intermittent data type erros. Right now at 1PM Pacific time I am getting totally different behavior on the describeObject call between using the 5.0 endpoint and the 7.0 endpoint.

Also getting some intermitent connection problems.

Anyone else seeing issues today?
  • March 01, 2006
  • Like
  • 0
NOW: 2005-08-09T15:29:15.000+08.00


As of last week this worked now my Create of a new object instance in Salesforce FAILS because of an "value not of required type" error occuring on a date type field.


This is the formated date I am attempting to input htat gives me the failure
2005-08-09T15:29:15.000+08.00

Help


create_OpptyCount : Error: Extract Date: value not of required type: 2005-08-09T15:29:15.000+08.00

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

  • August 09, 2005
  • Like
  • 0
Need to input leads into salesforce.com that have Kanji characters. I wish to use the API's so I can adapt my application which checks for duplicates before inserting a new Lead.
So far I ahve only seen references to doing stuff in javascript by building the SOAP XML messages for the sforce API manually. I think it would be a huge boon to lite clients that can reside on Salesforce.com if someone would write an open source Javascript class, or library that talked the sforce api.
  • March 16, 2005
  • Like
  • 0
I have a login page I wrote uses the Sforce API in php. I have not been able to produce this, but my partner claims when he has been using the page it shows up in his IE browser history as a url with a url query string that shows the username and passwd in clear text. I have not been able to reproduce the problem on mac and windows versions of Firefox and Internet Explorer. In my testing it appears in all browser histories as I would expect a POST to just the URL that is the action of the form no arguments.

Has anyone else seen this?
How do I reporduce the problem if so?
How do I fix the problem?

Thanks
Richard Yaker
  • March 12, 2005
  • Like
  • 0
A user with at Standard Profile can access and successfully pass the Org_ID in a web link from within the SFDC GUI. This same user is unable to login via the API and retrieve the Org_ID without being assigned the "view all data" rights.
Using partner wsdl w/ 5.0 API.
  • February 18, 2005
  • Like
  • 0
A user with at Standard Profile can access and successfully pass the Org_ID in a web link from within the SFDC GUI. This same user is unable to login via the API and retrieve the Org_ID without being assigned the "view all data" rights.
Using partner wsdl w/ 5.0 API.
  • February 18, 2005
  • Like
  • 0
I can update a Lead or an Opportunity, or a Contact, no problem.
I have recreated the stubs from the WSDL.
And yet when I got to update my custom object I continue to get
"Must send a concrete entity type
  • February 12, 2005
  • Like
  • 0

This soap message gave me: common.exception.ApiException: Must send a concrete entity type." any help

 

<SOAP-ENV:Envelope
    xmlnsSOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlnsxsd="http://www.w3.org/2001/XMLSchema"
    xmlnsxsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlnsSOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlnsns4="urn:enterprise.soap.sforce.com">
   <SOAP-ENV:Header">

      <ns4:SessionHeader SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0"">

         <ns4:sessionId">
2B5EBcdbCQyx100n_l.Tc9IJxB58ycqeQpNjxYxLn.WHHWcAzBCOJiKQ326vI.rVa48ZzIdoYXXueiqB7dpq4jteaH1xyGi1ns4:sessionId>

      
  </ns4:SessionHeader">

   
  </SOAP-ENV:Header">

   <SOAP-ENV:Body">

      <ns4:update">

         <ns4:sObjects">

            <ns4:type>Account_Environment_Profile__c</ns4:type">
            <ns4:Id>a0130000000Ib75AAC</ns4:Id">

            <ns4pportunity__c">
00630000001p257</ns4pportunity__c">
         
  </ns4:sObjects">

      
  </ns4:update">

   
  </SOAP-ENV:Body">

  </SOAP-ENV:Envelope">

  • February 12, 2005
  • Like
  • 0
I am looking to use convertLead from the PHP toolkit, has anyone done this and is there aNY SAMPLE CODE.

THANKS
RICHARD YAKER
  • January 27, 2005
  • Like
  • 0
<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:enterprise.soap.sforce.com"
>
<SOAP-ENV:Header>

<ns4:SessionHeader SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0">
<ns4:sessionId>vnBx6uDEQnw.FPi5KwcXjh9wKr63cngqkk3sW4phR7C_Zw2uMVDxYcLaxC9.OTMZzJJr.XY7uh1aldSO_EJZ9DteaH1xyGi1</ns4:sessionId></ns4:SessionHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>

<ns4:create>
<ns4:sObjects>
<ns4:type>Lead</ns4:type>
<ns4:City>San Francisco</ns4:City>
<ns4:Company>Hotwire</ns4:Company>
<ns4:Country>USA</ns4:Country>
<ns4:Email>wally@hotwire.com</ns4:Email>
<ns4:FirstName>Wally</ns4:FirstName>
<ns4:Industry>ecommerce/travel</ns4:Industry>
<ns4:Inquiry__c>General / Pending</ns4:Inquiry__c>
<ns4:LastName>Finley</ns4:LastName>
<ns4hone>415-343-8484</ns4hone>
<ns4ostalCode>94105</ns4ostalCode>
<ns4:State>CA</ns4:State>
<ns4:Street>333 Market Street, Suite 100 </ns4:Street></ns4:sObjects></ns4:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • December 06, 2004
  • Like
  • 0
Using PHP.
Here is SOAP envelope being sent to Salesforce.
Any idea why I am getting "Must send a concrete entity type" when I go to create a new lead given this SOAP message.





xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:partner.soap.sforce.com"
xmlns:ns5="urn:enterprise.soap.sforce.com"
>



rO43lx09sC_byGJrgwfaxMho6CiZUyXxXoqZ1rMYO5pxv74Kj13nTn3Lg75LKPbaWpXUjvhCWfSYIcfzL6CHxDteaH1xyGi1





Lead
San Francisco
Hotwire
USA
wally@hotwire.com
Wally
ecommerce/travel
General / Pending
Finley
hone>415-343-8484hone>
ostalCode>94105ostalCode>
CA
333 Market Street, Suite 100

  • December 05, 2004
  • Like
  • 0
I'd like to get a discussion going on better Salesforce session handling in PHP and develop some code that can be included in the sample that acts as does the EnterpriseLoginBeanthat Adam Gross wrote, and talked about at Dreamforce.

Any ideas or sample code in php to better handle the sfdc ?
  • November 16, 2004
  • Like
  • 0
Want to be able to attatch a file in SFDC via the API. I would love to see some sample code if possible.
  • October 27, 2004
  • Like
  • 0
is it possible to create custom fields or custom objects from the API?
  • October 08, 2004
  • Like
  • 0
I am trying to setup to access SFDC webservices via PHP on a win32 based webserver.
I have successfully done this on a server running MAC OSX but when I use the login page from the SFDC php sample I get this error.

Error: curl_exec error 28 SSL connection timeout

Does anybody have a clue what I need to do to get SOAP/SFDCs SOAP calls working on PHP on win32?
  • October 08, 2004
  • Like
  • 0
results     (code,soapenv:Server.userException)
results     (message,common.exception.ApiException: Must send a concrete entity type.)


FIELDS     (type,Lead)
FIELDS     (FirstName,Gary)
FIELDS     (LastName,Raizes)
FIELDS     (Company,NIH)
FIELDS     (Phone,2025551210)
FIELDS     (Street,175 13th Street, NW)
FIELDS     (City,Washington)
FIELDS     (State,DC)
FIELDS     (Zip,20013)
FIELDS     (Country,USA)


Any ideas what I am missing in my sObject?
  • September 03, 2004
  • Like
  • 0
According to what I read in the docs the calls should work the same describeObjectResult should include an array of the Fields[] in a given object. However if I use endpoint

https://www.salesforce.com/services/Soap/u/5.0

I get back a list of Fields[], and if I use endpoint

https://www.salesforce.com/services/Soap/u/7.0

Fields[] is a single field not an array.

I am using the API from the old PHP toolkit.
  • March 09, 2006
  • Like
  • 0

I am attempting to write an sforce control / WIL that will create a copy of an existing opportunity.  We are looking at using record types to "lock down" our closed opportunities.  This control will be used when sales needs to handle a contract renewal.  The control would insert a new opportunity using some of the fields on the locked opportunity and reset the record type so the new opp can be edited. .  

The problem I am having is in setting the Close Date on the opportunity.  Javascript's Date object doesn't seem to work nor does passing the date as a string.  I saw one message on this board regarding the use of the primitive datatypes but haven't been able to figure out how to incorporate that into the xml.   I am using the Enterprise WSDL. 

Anyone have any ideas? 

(The script I am using came from a message on this board regarding how to perform a calculation and udpate the opportunity record from a WIL.)

 

A user with at Standard Profile can access and successfully pass the Org_ID in a web link from within the SFDC GUI. This same user is unable to login via the API and retrieve the Org_ID without being assigned the "view all data" rights.
Using partner wsdl w/ 5.0 API.
  • February 18, 2005
  • Like
  • 0

This soap message gave me: common.exception.ApiException: Must send a concrete entity type." any help

 

<SOAP-ENV:Envelope
    xmlnsSOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlnsxsd="http://www.w3.org/2001/XMLSchema"
    xmlnsxsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlnsSOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlnsns4="urn:enterprise.soap.sforce.com">
   <SOAP-ENV:Header">

      <ns4:SessionHeader SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0"">

         <ns4:sessionId">
2B5EBcdbCQyx100n_l.Tc9IJxB58ycqeQpNjxYxLn.WHHWcAzBCOJiKQ326vI.rVa48ZzIdoYXXueiqB7dpq4jteaH1xyGi1ns4:sessionId>

      
  </ns4:SessionHeader">

   
  </SOAP-ENV:Header">

   <SOAP-ENV:Body">

      <ns4:update">

         <ns4:sObjects">

            <ns4:type>Account_Environment_Profile__c</ns4:type">
            <ns4:Id>a0130000000Ib75AAC</ns4:Id">

            <ns4pportunity__c">
00630000001p257</ns4pportunity__c">
         
  </ns4:sObjects">

      
  </ns4:update">

   
  </SOAP-ENV:Body">

  </SOAP-ENV:Envelope">

  • February 12, 2005
  • Like
  • 0
<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:enterprise.soap.sforce.com"
>
<SOAP-ENV:Header>

<ns4:SessionHeader SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0">
<ns4:sessionId>vnBx6uDEQnw.FPi5KwcXjh9wKr63cngqkk3sW4phR7C_Zw2uMVDxYcLaxC9.OTMZzJJr.XY7uh1aldSO_EJZ9DteaH1xyGi1</ns4:sessionId></ns4:SessionHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>

<ns4:create>
<ns4:sObjects>
<ns4:type>Lead</ns4:type>
<ns4:City>San Francisco</ns4:City>
<ns4:Company>Hotwire</ns4:Company>
<ns4:Country>USA</ns4:Country>
<ns4:Email>wally@hotwire.com</ns4:Email>
<ns4:FirstName>Wally</ns4:FirstName>
<ns4:Industry>ecommerce/travel</ns4:Industry>
<ns4:Inquiry__c>General / Pending</ns4:Inquiry__c>
<ns4:LastName>Finley</ns4:LastName>
<ns4hone>415-343-8484</ns4hone>
<ns4ostalCode>94105</ns4ostalCode>
<ns4:State>CA</ns4:State>
<ns4:Street>333 Market Street, Suite 100 </ns4:Street></ns4:sObjects></ns4:create>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • December 06, 2004
  • Like
  • 0
Using PHP.
Here is SOAP envelope being sent to Salesforce.
Any idea why I am getting "Must send a concrete entity type" when I go to create a new lead given this SOAP message.





xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:partner.soap.sforce.com"
xmlns:ns5="urn:enterprise.soap.sforce.com"
>



rO43lx09sC_byGJrgwfaxMho6CiZUyXxXoqZ1rMYO5pxv74Kj13nTn3Lg75LKPbaWpXUjvhCWfSYIcfzL6CHxDteaH1xyGi1





Lead
San Francisco
Hotwire
USA
wally@hotwire.com
Wally
ecommerce/travel
General / Pending
Finley
hone>415-343-8484hone>
ostalCode>94105ostalCode>
CA
333 Market Street, Suite 100

  • December 05, 2004
  • Like
  • 0
I've seen a few discussions about assignment rules and having them automatically assigned. I was wondering if there was a simple way to have a new Lead that is populated via the sforce PERL API use the assignement rules found in salesforce?
  • November 01, 2004
  • Like
  • 0
is it possible to create custom fields or custom objects from the API?
  • October 08, 2004
  • Like
  • 0
results     (code,soapenv:Server.userException)
results     (message,common.exception.ApiException: Must send a concrete entity type.)


FIELDS     (type,Lead)
FIELDS     (FirstName,Gary)
FIELDS     (LastName,Raizes)
FIELDS     (Company,NIH)
FIELDS     (Phone,2025551210)
FIELDS     (Street,175 13th Street, NW)
FIELDS     (City,Washington)
FIELDS     (State,DC)
FIELDS     (Zip,20013)
FIELDS     (Country,USA)


Any ideas what I am missing in my sObject?
  • September 03, 2004
  • Like
  • 0

Greetings all,

I was curious if I'm just missing something, but I couldn't find anything about this in the docs.  Could someone step me through creating custom objects in SForce4.0?  I looked in the resources section, and maybe I'm just looking with my eyes closed again, but I didn't find anything that was, say "Custom Objects 101". 

My question boils down to, how do we create a custom object and, in doing that, do we create a new table in the SForce database to populate via the web service API?

Thanks in advance,

Eric

Does anyone have any sample code on updating or creating an opportunity?

I am able to do all of this based on the sample code:

  1. Login
  2. Query Leads and view all the fields
  3. Query all Opportunities and view all the fields
  4. Update various fields in the "Leads" section

When I try to update the "opportunity" section, it does not update and does not give me an error message.

Any help would be appreciated,

Brian

Using sforce 2.5, I understand how to create instances of custom objects once they are defined, but is it possible to create the actual classes with their fields using the sforce 2.5 API?  I know that I can create custom classes and fields for those classes using the sforce UI, but it is definitely not scalable to require all users to do this.

I tried the PHP demonstration of Byrne Reese out. This, so far, only supports querying. I ask myself whether there are already extensions which allow to create, delete, update? Is that still to come? Each ìnfo/advice is welcome.
  • January 27, 2004
  • Like
  • 0

We have an issue with duplicates in SF.com, primarily with leads & contacts.  For those of you that purchase big lists and mail to them (in which case some of the names you purchase MAY already be in SF.com as leads or contacts), how do you go about getting that information into SF.com without creating tons of duplicates? 

Does anyone else have an issue with the way the Leads module is set up?

THanks,

Brian

  • June 20, 2003
  • Like
  • 0