You need to sign in to do that
Don't have an account?
WT007
how to get returned id of inserted record?
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>
<?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>
BTW, that looks like the old old 2.0 soap api, i would strongly strongly strongly suggest you jump straight to a current API version (e.g. 9.0), the 2.0 soap api is basically a soapification of the old xml-rpc api, and is frankly a complete lemon.