function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David Baumann 31David Baumann 31 

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:
 
<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