Permalink
Browse files

salesforce bug fix

  • Loading branch information...
1 parent 9cf2a3f commit eea23a48d6f9028b90c75060ecff15530b8b6887 @spullara spullara committed May 28, 2009
Showing with 4 additions and 11 deletions.
  1. +4 −11 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>
@@ -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>

0 comments on commit eea23a4

Please sign in to comment.