You need to sign in to do that
Don't have an account?
![David Baumann 31 David Baumann 31](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Unable to Upsert() AccountContactRelation with SOAP Message
I enabled AccountContactRelation in setup and also updated the WSDL file. After the import to SOAP UI I I tried to upsert a relationship between existing salesforce contact and acccount records with the following SOAP Request:
Unfortunately, the response says: "Unexpected element {}AccountId during simple type deserialization"
What am I doing wrong?
Regards,
David
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:sobject.enterprise.soap.sforce.com"> <soapenv:Header> <urn:SessionHeader> <urn:sessionId>XXXXXXXXXXXXXXXXXXXXX</urn:sessionId> </urn:SessionHeader> </soapenv:Header> <soapenv:Body> <urn:upsert> <!--Zero or more repetitions:--> <urn:sObjects xsi:type="urn1:AccountContactRelation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AccountId>0011X000004XwSDQA0</AccountId> <ContactId>0031X0000034g8PQAQ</ContactId> <!--Zero or more repetitions:--> </urn:sObjects> </urn:upsert> </soapenv:Body> </soapenv:Envelope>
Unfortunately, the response says: "Unexpected element {}AccountId during simple type deserialization"
What am I doing wrong?
Regards,
David