You need to sign in to do that
Don't have an account?
manoj6492
Missing SOAP action header
Hi all,
Im trying get the session ID of another user in the same org using the sOAP .But when i send the request Im getting MIssing SOAP action header as error message .But for that request SOAP action is blank in wsdl file generated from my Developer edition.The following is the request im sending to salesforce server
Im trying get the session ID of another user in the same org using the sOAP .But when i send the request Im getting MIssing SOAP action header as error message .But for that request SOAP action is blank in wsdl file generated from my Developer edition.The following is the request im sending to salesforce server
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com"> <soapenv:Header> <urn:organizationId>xxxxxxx</urn:organizationId> </soapenv:Header> <soapenv:Body> <urn:login> <urn:username>xxxxxxxxx</urn:username> <urn:password>xxxxxxxxx</urn:password> </urn:login> </soapenv:Body> </soapenv:Envelope>
Can you try the below mentioned sample request code and try if this works for you.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<urn:login>
<urn:username>*************</urn:username>
<urn:password>**************</urn:password>
</urn:login>
</soapenv:Body>
</soapenv:Envelope>
Thanks
Pramod