在SAP PI中使用此有效负载时出现以下错误:
解析1.cvc-complex-type.2.4.d时遇到错误:发现无效的内容(从元素'ClientGroupID'开始)。目前尚无子元素。
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>