Skip to content

Commit

Permalink
salesforce bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spullara committed May 28, 2009
1 parent 9cf2a3f commit eea23a4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions salesforce/salesforce.login.xml
@@ -1,9 +1,10 @@
<?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="" produces="XML" useProxy="true">
<select itemPath="Envelope.Body.loginResponse.result" produces="XML">
<urls>
<url env="all">http://www.salesforce.com/services/Soap/u/15.0</url>
</urls>
Expand All @@ -14,16 +15,8 @@
</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;
<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>
Expand Down

0 comments on commit eea23a4

Please sign in to comment.