Hello again!
I'm working again in the same webservice but now I need to update the employee I've created.
Here is the request example:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soap:Header/>
<soap:Body>
<glob:EmployeeUpdateRequest_sync>
<BasicMessageHeader>
</BasicMessageHeader>
<Employee RelationshipListCompleteTransmissionIndicator="false" IdentificationListCompleteTransmissionIndicator="true" EmployeeTypeListCompleteTransmissionIndicator="true">
<UUID>00163e07-a7ae-1ee5-a5ad-aba56b3347fa</UUID>
<Identification ActionCode="06">
<EmployeeID>123457</EmployeeID>
</Identification>
<CurrentCommon ActionCode="02">
<Person>
<Name>
<GivenName>INTEGRATION 1001</GivenName>
<FamilyName>SOAP UI</FamilyName>
</Name>
</Person>
</CurrentCommon>
<EmployeeType ActionCode="06">
<InternalEmployeeIndicator>true</InternalEmployeeIndicator>
<ValidityPeriod>
<StartDate>2015-10-01</StartDate>
<EndDate>2015-12-01</EndDate>
</ValidityPeriod>
</EmployeeType>
</Employee>
</glob:EmployeeUpdateRequest_sync>
</soap:Body>
</soap:Envelope>
Unfortunately, the following error occurs:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<n0:EmployeeUpdateConfirmation_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:LAW:/1SAI/TAS0260AB112F39B5A5763E:804">
<Log>
<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>
<Item>
<TypeID>015(/CSG_RUNTIME/)</TypeID>
<CategoryCode>SEI.SCV</CategoryCode>
<SeverityCode>3</SeverityCode>
<Note>Key for Common node missing in Request Message</Note>
</Item>
</Log>
</n0:EmployeeUpdateConfirmation_sync>
</env:Body>
</env:Envelope>
I checked the Common node in the webservice businessObjectView but it doesn't appear in Update operation.
Any suggestion?
Thanks in advance.
Alexandre.