Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

salesforce bug fix

  • Loading branch information...
commit eea23a48d6f9028b90c75060ecff15530b8b6887 1 parent 9cf2a3f
Sam Pullara authored May 28, 2009

Showing 1 changed file with 4 additions and 11 deletions. Show diff stats Hide diff stats

  1. 15  salesforce/salesforce.login.xml
15  salesforce/salesforce.login.xml
... ...
@@ -1,9 +1,10 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <table xmlns:i="http://query.yahooapis.com/v1/schema/internalTable.xsd" xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
3 3
   <meta>
  4
+    <description>Salesforce Login</description>
4 5
   </meta>
5 6
   <bindings>
6  
-    <select itemPath="" produces="XML" useProxy="true">
  7
+    <select itemPath="Envelope.Body.loginResponse.result" produces="XML">
7 8
       <urls>
8 9
         <url env="all">http://www.salesforce.com/services/Soap/u/15.0</url>
9 10
       </urls>
@@ -14,16 +15,8 @@
14 15
       </inputs>
15 16
       <execute><![CDATA[
16 17
       var login =
17  
-<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/">
18  
-  <se:Body>
19  
-    <login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com">
20  
-      <username>{username}</username>
21  
-      <password>{password + token}</password>
22  
-    </login>
23  
-  </se:Body>
24  
-</se:Envelope>
25  
-response.object = y.rest("http://www.salesforce.com/services/Soap/u/15.0")
26  
-     .contentType("text/xml").header("SOAPAction", '""').post(login).response;
  18
+<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>
  19
+response.object = y.rest("http://www.salesforce.com/services/Soap/u/15.0").contentType("text/xml").header("SOAPAction", '""').post(login).response;
27 20
 ]]></execute>
28 21
     </select>
29 22
   </bindings>

0 notes on commit eea23a4

Please sign in to comment.
Something went wrong with that request. Please try again.