I am trying to create log in request to log in with successfactor through web service, i have created trail account with SF, when i hit the service using Soap UI, I am getting below exception, can someone help me what is the exact login request ?
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<loginResponse xmlns="urn:sfobject.sfapi.successfactors.com" xmlns:ns2="urn:fault.sfapi.successfactors.com">
<result>
<sessionId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<msUntilPwdExpiration xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<error>
<errorCode>FAILED_AUTHENTICATION</errorCode>
<errorMessage>Login failure due to the invalid company!</errorMessage>
</error>
</result>
</loginResponse>
</S:Body>
</S:Envelope>
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sfobject.sfapi.successfactors.com">
<soapenv:Header/>
<soapenv:Body>
<urn:login>
<urn:credential>
<urn:companyId>XXXtrialXXX</urn:companyId>
<urn:username>cgrant</urn:username>
<urn:password>XXXXXX</urn:password>
<!--Optional:-->
<!-- <urn:developerKey></urn:developerKey>-->
</urn:credential>
<!--Zero or more repetitions:-->
<!--Zero o <urn:param>
<urn:name>per auras</urn:name>
<urn:value>circum claustra</urn:value>
</urn:param>
-->
</urn:login>
</soapenv:Body>
</soapenv:Envelope>