-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello,
The company that hosts Salesforce for my client gave me this example of connection:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:tooling.soap.sforce.com">
<soapenv:Header/>
<soapenv:Body>
<urn:login>
<urn:username>USERNAME</urn:username>
<urn:password>PASSWORD</urn:password>
</urn:login>
</soapenv:Body>
</soapenv:Envelope>
It connects correctly testing with curl.
However, if I use the default one from Salesforce site it doesn't login (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_quickstart_login.htm )
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<n1:login xmlns:n1="urn:partner.soap.sforce.com">
<n1:username>USERNAME</n1:username>
<n1:password>PASSWORD</n1:password>
</n1:login>
</env:Body>
</env:Envelope>
It gives me the error No operation available for request {urn:partner.soap.sforce.com}login which is the same error that this gem gives me trying to connect.
I was wondering if it can be the type of XML the problem or if I can override the envelope in some way.
Thsnk you,
Metadata
Metadata
Assignees
Labels
No labels