Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dbf6d46a41
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (23 sloc) 1.211 kb
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns:i="http://query.yahooapis.com/v1/schema/internalTable.xsd" xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<description>Salesforce Login</description>
</meta>
<bindings>
<select itemPath="Envelope.Body.loginResponse.result" produces="XML">
<urls>
<url env="all">http://www.salesforce.com/services/Soap/u/15.0</url>
</urls>
<inputs>
<key id='username' type='xs:string' paramType='variable' required="true" />
<key id='password' type='xs:string' paramType='variable' required="true" />
<key id='token' type='xs:string' paramType='variable' required="true" />
</inputs>
<execute><![CDATA[
var login =
<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>{username}</username><password>{password + token}</password></login></se:Body></se:Envelope>
response.object = y.rest("http://www.salesforce.com/services/Soap/u/15.0").contentType("text/xml").header("SOAPAction", '""').post(login).response;
]]></execute>
</select>
</bindings>
</table>
Jump to Line
Something went wrong with that request. Please try again.