• mobileTest
  • NEWBIE
  • 0 Points
  • Member since 2003

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

The return value of xmlrpc_login doesn't contain the correct server_url. 

  Hashtable result = (Hashtable) xmlrpc_login.execute("sfdc.login", loginParms);

  myServer = (String) result.get("server_url");

  xmlrpc = new XmlRpcClient(myServer);

The value of myServer is https://na1-api.salesforce.com/servlet/servlet.Api. But I found I can only

make it work with http://na1-api.salesforce.com/servlet/servlet.Api. Otherwise it says "unknown protocol: https".


 

I've been trying to insert properly encoded (base-64) data for attachments in C# but it's notworking.  In fact it is the same data that salesforce is passing me.  I am passing it as a string but I get "Value ... not of required type base64 on field body", so does that mean I have to pass it as a type other than a string? 

  • June 26, 2003
  • Like
  • 0

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?)

Whening defining custom fields in sfdc, you can choose from the following types;

Currency, Date, Email, Number, Picklist, Percent, Phone, Text, Text Area and URL.

Can anyone tell me what XML tags wrap these values across the API?  I apologize if this is a lame question - I couldn't seem to locate the answer in the docs.

The Date type maps to the tag <dateTime.iso8601>, obviously.  And the Text, Text Area and Picklist map to string, which does not require an inner tag (i.e., <value></value> will suffice).  What about the others?  Are Phone, URL and Email also strings, and thus require no inner tag?  What about Currency and Number?

Thanks Duke 

  • June 24, 2003
  • Like
  • 0

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.

 

i would like to developed a crm tool using sforce.com

the tool will be used by showroom reps.  features will include, order entry, invoicing, commissions and sales analysis reports.

where i a good place to start.

  • June 24, 2003
  • Like
  • 0