• dave k.ax63
  • NEWBIE
  • 0 Points
  • Member since 2004

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
I have downloaded php-client-53.zip and Pear::SOAP 0.8RC3 beta.

The login and list examples work fine but I'm unable to run the update example in the HTML readme:

$FIELDS=array('type'=>'lead','FirstName'=>'newtest','LastName'=>'test','Company'=>'testthis');
$client->create($FIELDS);

The result I get back is:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>common.exception.ApiException: Must send a concrete entity type.</faultstring>
<detail>
<sf:fault xsi:type="sf:InvalidSObjectFault" xmlns:sf="urn:fault.enterprise.soap.sforce.com">
<sf:exceptionCode>INVALID_TYPE</sf:exceptionCode>
<sf:exceptionMessage>Must send a concrete entity type.</sf:exceptionMessage>
</sf:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

I enabled tracing on the client object:

$client->__trace(1);

and called $client->__get_wire() but there is no outgoing data to display. The incoming data is the SOAP error.

What have I missed ?

Cheers


Dave.

Message Edited by dave k on 09-23-2004 08:59 AM

Hi,
When is the email-to-case agent expected to be posted?

Thanks,
~Jill
  • June 14, 2005
  • Like
  • 0
I have downloaded php-client-53.zip and Pear::SOAP 0.8RC3 beta.

The login and list examples work fine but I'm unable to run the update example in the HTML readme:

$FIELDS=array('type'=>'lead','FirstName'=>'newtest','LastName'=>'test','Company'=>'testthis');
$client->create($FIELDS);

The result I get back is:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>common.exception.ApiException: Must send a concrete entity type.</faultstring>
<detail>
<sf:fault xsi:type="sf:InvalidSObjectFault" xmlns:sf="urn:fault.enterprise.soap.sforce.com">
<sf:exceptionCode>INVALID_TYPE</sf:exceptionCode>
<sf:exceptionMessage>Must send a concrete entity type.</sf:exceptionMessage>
</sf:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

I enabled tracing on the client object:

$client->__trace(1);

and called $client->__get_wire() but there is no outgoing data to display. The incoming data is the SOAP error.

What have I missed ?

Cheers


Dave.

Message Edited by dave k on 09-23-2004 08:59 AM

Hello,

Salesforce.com custom fields have preassigned field names that start with zeroes "00N000000etc". (Doesn't conform to W3C standards: http://www.w3.org/TR/html401/types.html#type-name)

For some reason, client-side JavaScript raises an error whenever I try to access a custom field. Using eval(  ) doesn't work either. If the first character of the field name starts with a character, it all works fine. Any workarounds?

  // these don't work
 eval("alert(myForm.00N00000006ozIN.value)");
alert(myForm.00N00000006ozIN.value);

  // these work
 eval("alert(myForm.x00N00000006ozIN.value)");
alert(myForm.x00N00000006ozIN.value);

Thanks so much.

-Zach.

Message Edited by zekay2000 on 07-30-2004 04:27 PM

I'm looking for a way to authenticate my self-service portal users (trouble-ticket area) without them actually logging into the self service site.  Does the login call published in the API work for these users?