• WT007
  • NEWBIE
  • 25 Points
  • Member since 2006

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 3
    Replies

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? 

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? 

  • November 20, 2009
  • Like
  • 0

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.

 

  • November 04, 2009
  • Like
  • 0

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.

  • October 26, 2009
  • Like
  • 0

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!

  • June 30, 2009
  • Like
  • 0
Hello, I am looking for a code example using the partner.wsdl version 8.0 that i just downloaded and compiled into my VB.NET application. The web API docs do have examples of the enterprise.wsdl in java and C#. Thanks, -Rich Spector
  • May 01, 2007
  • Like
  • 0
using method similar to this
<?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>
  • April 17, 2007
  • Like
  • 0
Hello,
 
I found this code somewhere on the message boards, it is close to what I need to do on our webserver in order to update.   How do I obtain the included javascript file?    We already have partner WSDL on our server.
 
 
 
<html>
  <head>
  <script src="connection.js"
          type="text/javascript"></script>
<script type="text/javascript">
 function initPage() {
var mylead = new sforce.SObject("Lead");
mylead.Id = "00N50000001SCnZ";
mylead.Times_Called__c == {!Lead.Times_Called__c} + 1;
sforce.connection.update([mylead]);
}
</script>

</head>
<body onLoad="initPage();">
</body>
</html>
  • April 11, 2007
  • Like
  • 0
Is there a limit to number of queries that can be executed per day or is this just for update/delete/insert type actions?    What are these limitations?
  • October 29, 2006
  • Like
  • 0

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? 

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!

  • June 30, 2009
  • Like
  • 0