-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
8Questions
-
3Replies
How to set Timeout when accessing the Salesforce Web Service/API
I am using C#/.NET to access the Salesforce API via the web service, after generating a WSDL file and integrating it into my Visual Studio project, etc.
I cannot find anywhere to set the Timeout for the calls to the Web Service - usually in .NET when you access a Web Service this is a property on the Proxy objects.
So .. how to I set the Timeout for the Salesforce API?
-
- tf_ianr
- December 11, 2009
- Like
- 0
- Continue reading or reply
Getting "Request Time Out" Error not Binding TimeOut
I have a .NET application that iterates through the collection of
salesforces tables. When it hits a certain table ie 'Task' I get
"Request TimeOut" message.
But then the app continues to the next object in the list, ie Account
and processes the operation with no problem. So it appears there
are two types of time outs - and how can I adjust these settings?
-
- WT007
- November 20, 2009
- Like
- 0
- Continue reading or reply
I continually get 'Operation Timed Out'
messages. I have a VB.NET application that iterates through all the objects
of a schema. When it gets to 'Task', I seem to always get this message,
even with different login instances of vastly different database size.
Re logging in and continuing the operation at the Task table completes the process.
-
- WT007
- November 04, 2009
- Like
- 0
- Continue reading or reply
How to Set the sandbox instance through .NET?
Hello,
Currently I have a requirement with a VB.NET application to connect
to salesforce, but via the sandbox instance. One way to do it is to
modify the partner.WSDL as follows
<!-- Soap Service Endpoint -->
<service name="SforceService">
<documentation>Sforce SOAP API</documentation>
<port binding="tns:SoapBinding" name="Soap">
<soap:address location="https://test.salesforce.com/services/Soap/u/10.0" />
</port>
</service>
Problem is that the app needs to be compiled each time so a method
via .NET would be preferable.
Thanks in advance.
Rich Spector
Software Engineer /Catapult Data Services.
-
- WT007
- October 26, 2009
- Like
- 0
- Continue reading or reply
Self Join in SoQL
Hello,
Im trying to accomplish something like this:
select a.id,
a.MY_DUPEID__c,
a.FirstName,
b.Firstname as Firstname_Orig
from Lead a
LEFT JOIN
lead b
on a.my_dupeid__c =b.id
WHERE
MY_DUPEID__c !=NULL
This has to be returned in 1 query.
Thanks in advance!
-
- WT007
- June 30, 2009
- Like
- 0
- Continue reading or reply
Code example for new merge function in VB.NET
-
- WT007
- May 01, 2007
- Like
- 0
- Continue reading or reply
how to get returned id of inserted record?
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="Link: " xm
lns:tns="salesforce" xmlns:types="salesforce/encodedTypes" xmlns:xsd="http://www
.w3.org/2001/XMLSchema" xmlns:xsi="Link: " so
ap-env:encodingStyle="Link: ">
<soap-env:Header>
<headerStruct>
<version type="string">1.9</version>
<session_id type="string">tvuCrkuGoQQM51qWkaCsdudguGoQQM51qWkaCGzH1Odl2AcImxHXXFZMyPbtzKggVlhL</session_id>
</headerStruct>
</soap-env:Header>
<soap-env:Body>
<tns:insert xmlns:tns="sfconnector:SalesforceConnector" type="methodCall">
<type type="string">lead</type>
<record type="map">
<email type="string">bb@aol.com</email>
<firstName type="string">Bob</firstName>
<lastName type="string">Berry</lastName>
<title type="string">Chief Software Development Enginee</title>
<company type="string">Swift</company>
<street type="string">12708 Pine View</street>
<city type="string">Austin</city>
<state type="string">TX</state>
<country type="string">US</country>
<postalCode type="string">78727</postalCode>
<status type="string">Open</status>
</record>
</tns:insert>
</soap-env:Body>
</soap-env:Envelope>
-
- WT007
- April 17, 2007
- Like
- 0
- Continue reading or reply
Newbie question about lead update
<html>
<head>
<script src="connection.js"
type="text/javascript"></script>
<script type="text/javascript">
</head>
</html>
-
- WT007
- April 11, 2007
- Like
- 0
- Continue reading or reply
Limit to Number of Queries Per Day
-
- WT007
- October 29, 2006
- Like
- 0
- Continue reading or reply
How to set Timeout when accessing the Salesforce Web Service/API
I am using C#/.NET to access the Salesforce API via the web service, after generating a WSDL file and integrating it into my Visual Studio project, etc.
I cannot find anywhere to set the Timeout for the calls to the Web Service - usually in .NET when you access a Web Service this is a property on the Proxy objects.
So .. how to I set the Timeout for the Salesforce API?
- tf_ianr
- December 11, 2009
- Like
- 0
- Continue reading or reply
Self Join in SoQL
Hello,
Im trying to accomplish something like this:
select a.id,
a.MY_DUPEID__c,
a.FirstName,
b.Firstname as Firstname_Orig
from Lead a
LEFT JOIN
lead b
on a.my_dupeid__c =b.id
WHERE
MY_DUPEID__c !=NULL
This has to be returned in 1 query.
Thanks in advance!
- WT007
- June 30, 2009
- Like
- 0
- Continue reading or reply