Salesforce Integration | Upsert multiple records with single connection in PHP

| By Webner

When we create connection with “SforceEnterpriseClient”, we can upsert one record and then we need to recreate connection for next upsert, which eventually can result in the exception: “UnexpectedErrorFault: REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded.” The solution is to use “SforcePartnerClient” instead

Java | What is the default location for maven repository and how we can modify it

| By Webner

To print maven default configurations, run following command: Command: mvn -X This will show you maven default configurations similar to following: Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_79, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-i386/jre Default locale: en_IN, platform

PHP | How to call SOAP based web services from php

| By Webner

We were working on codeigniter website project. We had wsdl web services available to access our backend functionality. We had configured a WSDL Client in our php code but it was not working. Sample Code: try { $testSoapClient = new

Selenium | Use of Robot Class to handle Dialog box

| By Webner

When we write selenium script for downloading files over internet through Mozilla Firefox following dialog box appears to save or open the file: Note: This dialog box cannot be handled with simple find element functions like: find_element_by_id find_element_by_name find_element_by_xpath find_element_by_link_text

Google Maps | Display routes to different locations from common starting point

| By Webner

Suppose in Google Maps you want to display routes to different locations from common starting point. For this we need accurate lat/long of the origin and destination addresses (only 1 origin and multiple destinations). We will use following statement to