• kevincar
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 12
    Replies
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?

 

Hi all,

I'm trying to get all cases via the contact ID, and I keep getting kicked out.

I thought tht I just had to collect the cases via the following query:

  strAcctIDsql =  "SELECT ID FROM _case WHERE contactId = '" + tmpParentID.getValue() + "' ";

Where "tmpParentID" is the Contact record ID;  But this bails via an SQL exception - anyone know what I'm missing?


Thanx in adv.;

KC

 

Message Edited by kevincar on 05-19-2004 03:06 PM

Is every field available via the API.  If not, which fields are not available?

Can  you reset a contact's self-service password via the API?

 

Hi-

This is hopefully an easy one:  I'm trying to select the account "tickersymbol" field but I keep getting "Bad Field Name" exceptions in my java query code at runtime.   I've verified that it's spelled right, and all that kind of stuff . . . Is there something I'm missing?

Kevin

 

How should I handle this error in the 2.5 api?

query: select Id, FirstName, LastName, Salutation, ReportsToId, Title from Contact where AccountId='00130000000sWB8AAM'
Salesforce.com 2.5 error 0x1:
com.caucho.vfs.ClientDisconnectException: client timeout

OK-  Howcome / WhatFor do I get a socket exception (randomly, apparently)?

My program will randomly stop with a stack trace such as:

 faultString: java.net.SocketException: Connection reset
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:168)
        at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
        at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:224)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at com.sforce.soap.enterprise.SoapBindingStub.update(SoapBindingStub.java:1180)
        at Insert.runInsertDemo(Insert.java:342)
        at Insert.runDemo(Insert.java:80)
        at Insert.main(Insert.java:75)

It appears to be  happening  at any time; either at 80, or even over 1000 records, apparently always on an "insert" operation.

Anyone have any thoughts/ from similar experiences?

Thanks.

KC

 

 

Message Edited by kevincar on 12-15-2003 05:10 PM

Message Edited by kevincar on 12-15-2003 05:15 PM

I am looking through the axis docs, and i don't see why this happens.   This is also the case with all of the samples, so just curious if there is a way to fix it.

Is there a sample written in Java for making batch inserts?

I need to make lots of batch creates of both Account and Contact records, and anything that I can do to make it faster is going to help me immensely.

 

Thanks

Kevin

 

Hi again all,

Again, I apologize if these seem like trite questions.

I'm trying to write a stand-alone java app (no web servers or such) that reads a couple of items from the salesforce.com site and writes the daily-items out to a plain text file. 

Another associate of mine added the custom fields, and they appear on both the download-WSDL xml file, AND the salesforce web pages.

I am hand-coding the "quickstart.jar" object class definition java files to include the custom fields, but I'm wondering now if this is a good practice, as it appears that I cannot access custom fields even though the related class files (in my case, Contact and _case) throw exceptions whenever I try to access custom objects in my SELECT statements.

I know it's a lot to ask without showing code, but is there some crucial step I'm missing? because I'm sure the SOAP-related stuff is correct in my code (I know about the __c variables and the get / set member-access functions and such).

I know this is sketchy, but thanks for any help.

KC