• Code Monkee
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 8
    Replies
I continue to receive faultcode 1222, faultstring "storage limit exceeded" when trying to insert a lead. This code worked in the past. There are only 2 leads in my lead area. Very frustrating.
When I try to use the code I've developed with a member of my company who is using a commercial version of Salesforce, I get a faultcode of 1008 and faultstring of "API is not enabled for this Organization or Partner" when I attemp to login. Is there a different type of account that supports this functionality, is it only working in the development edition, and/or is there something else I am missing here?

Error 1222: Failure inserting - storage limit exceeded

I got this message inserting a lead even though there are only 2 leads in my workspace! While developing/testing I have been inserting and deleting this same lead repeatedly, could this be the problem? Or perhaps a development edition limitation?

I have been using the developer edition trial interface for the past 2 months. This morning my java API code and the customer GUI were working as usual and I was able to add leads to my lead tab.  Now when I try to add leads I receive an "API is not supported for this Organization or Partner"  on my login request.  Also, when I login to the GUI, there is no longer a leads tab. If I attempt to access a recent lead I receive an "Insufficient Privileges" page. Has my account timed out? (If so, why can I login?). 

Or, could this be related to the fact that another member of my organization has become a Salesforce customer today and has just begun to use his commercial Salesforce?

Help!!!

My Java code no longer functions correctly, or rather no longer returns successful results. I'm querying to determine if a lead already exists. The code hasn't changed in a couple of weeks, assumming the API chage might be the culprit. My query request dump looks like this:

Request->
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:tns="salesforce" xmlns:types="salesforce/encodedTypes" xmlns:xsd="http://www
.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" so
ap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <soap-env:Header>
  <headerStruct>
   <version type="string">1.9</version>
   <session_id type="string">R9aOZgwrWl5i0PY36o.3JFIrDJDj_dy6NvHz96Bgw_fLgpkl62C
ZrfXUjGE2lQsP.36b7mOoCg5OIizEGqIvEPbtzKggVlhL</session_id>
  </headerStruct>
 </soap-env:Header>
 <soap-env:Body>
  <tns:query xmlns:tns="sfconnector:SalesforceConnector" type="methodCall">
   <type type="string">lead</type>
   <maxRows type="int">1</maxRows>
  </tns:query>
  <select type="array">
   <field type="string">id</field>
  </select>
  <filter type="array">
   <item type="map">
    <field type="string">email</field>
    <value type="string">joe@joe.com</value>
    <operator type="string">contains</operator>
   </item>
  </filter>
 </soap-env:Body>
</soap-env:Envelope>

Response->
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap
enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="salesforce" xmlns:typ
es="salesforce/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc
e" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <soap:Header/>
 <soap:Body>
  <soap:Fault>
   <faultcode>1100</faultcode>
   <faultstring>select list not specified in query</faultstring>
  </soap:Fault>
 </soap:Body>
</soap:Envelope>

Help!!!

I've got my java app running interactively at the DOS command prompt. It logs on to SalesForce, accesses info, etc. just fine.  However, when I try to run it in the ColdFusion environment with <CFOBJECT> it dies without a trace (no exceptions thrown) when it attempts to create a SOAP message via the messageFactory,createMessage() method. The message factory object instantiates properly the statement immediately preceding this. I suspect a ColdFusion environment problem, but am not sure. Any suggestions?

Thanks.

Are there any java code samples available for performing a filtered query? 

Also, when can we expect to see java sample code available for download? (and why are those VB.NET and C# people the lucky ones?)

I continue to receive faultcode 1222, faultstring "storage limit exceeded" when trying to insert a lead. This code worked in the past. There are only 2 leads in my lead area. Very frustrating.

I have been using the developer edition trial interface for the past 2 months. This morning my java API code and the customer GUI were working as usual and I was able to add leads to my lead tab.  Now when I try to add leads I receive an "API is not supported for this Organization or Partner"  on my login request.  Also, when I login to the GUI, there is no longer a leads tab. If I attempt to access a recent lead I receive an "Insufficient Privileges" page. Has my account timed out? (If so, why can I login?). 

Or, could this be related to the fact that another member of my organization has become a Salesforce customer today and has just begun to use his commercial Salesforce?

Help!!!

My Java code no longer functions correctly, or rather no longer returns successful results. I'm querying to determine if a lead already exists. The code hasn't changed in a couple of weeks, assumming the API chage might be the culprit. My query request dump looks like this:

Request->
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:tns="salesforce" xmlns:types="salesforce/encodedTypes" xmlns:xsd="http://www
.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" so
ap-env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <soap-env:Header>
  <headerStruct>
   <version type="string">1.9</version>
   <session_id type="string">R9aOZgwrWl5i0PY36o.3JFIrDJDj_dy6NvHz96Bgw_fLgpkl62C
ZrfXUjGE2lQsP.36b7mOoCg5OIizEGqIvEPbtzKggVlhL</session_id>
  </headerStruct>
 </soap-env:Header>
 <soap-env:Body>
  <tns:query xmlns:tns="sfconnector:SalesforceConnector" type="methodCall">
   <type type="string">lead</type>
   <maxRows type="int">1</maxRows>
  </tns:query>
  <select type="array">
   <field type="string">id</field>
  </select>
  <filter type="array">
   <item type="map">
    <field type="string">email</field>
    <value type="string">joe@joe.com</value>
    <operator type="string">contains</operator>
   </item>
  </filter>
 </soap-env:Body>
</soap-env:Envelope>

Response->
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap
enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="salesforce" xmlns:typ
es="salesforce/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc
e" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <soap:Header/>
 <soap:Body>
  <soap:Fault>
   <faultcode>1100</faultcode>
   <faultstring>select list not specified in query</faultstring>
  </soap:Fault>
 </soap:Body>
</soap:Envelope>

Are there any java code samples available for performing a filtered query? 

Also, when can we expect to see java sample code available for download? (and why are those VB.NET and C# people the lucky ones?)

Since the release of API 2.0 previous code written and tested with API 1.9 is failing, even with the version argument set as 1.9.  Is API 1.9 unavailable following this latest release?

The error is that the response SOAPElement seems not to have a type attribute in response to either the query or describe requests.

Any pointers are very welcome...

 

Thanks,

Brian.