I am getting below error while using this payload in SAP PI :

Errors Encountered During Parsing 1.cvc-complex-type.2.4.d: Invalid content was found starting with element 'ClientGroupID'. No child element is expected at this point.

XML

<?xml version="1.0" encoding="UTF-8"?>
<ns0:CustomerMasterWithAddress xmlns:ns0="http://kpmg.com.au/sap/DynamicsCRM" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <CustomerMasterData>
      <CustomerNumber>3000243</CustomerNumber>
      <CountryKey>AU</CountryKey>
      <Sector>2045</Sector>
      <AccountGroup>Z100</AccountGroup>
      <OwnershipType>03</OwnershipType>
      <EntityType>11</EntityType>
      <PrimaryANZSICCode>4511</PrimaryANZSICCode>
      <BlockDelete />
      <ABN />
      <UpdateType />
      <ClientGroupID>123</ClientGroupID>
      <ClientGroupName>ABC</ClientGroupName>
   </CustomerMasterData>
</ns0:CustomerMasterWithAddress>

0 Answers