cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO 7.5 - SFSF Adatper(SFAPI) - Compound employee API response format

santosh_k3
Active Participant
0 Kudos

Hi All,

This is regarding the same issue as mentioned in the link : https://answers.sap.com/questions/378427/compound-employee-api-response-format.html

I am working on the same scenario Compound Employee API -->SAP PO 7.5 -->Third Party scenario.

Facing the same issue , I get a different response as shown in the screenshot#2 when I send the query(SFAPI) request using SAP PO SFSF(SOAP message protocol)adapter.

But when I do a SOAP UI request , I get a response like the screenshot#1.

Why response is different from SOAP UI and from SFSF Adapter?

Let me know anyone has faced the same issue and resolved it.

screenshot#1

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <queryResponse xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:sfobject.sfapi.successfactors.com" xmlns:ns2="urn:fault.sfapi.successfactors.com">
         <result>
            <sfobject>
               <id>1120</id>
               <type>CompoundEmployee</type>
               <person>
                  <country_of_birth>DEU</country_of_birth>
                  <created_by>sfadmin</created_by>
                  <created_on_timestamp>2017-11-13T13:36:45.000Z</created_on_timestamp>

<br>

screenshot#2

<?xml version="1.0" encoding="UTF-8"?>
<queryCompoundEmployeeResponse>
  <CompoundEmployee>
    <id>3801</id>
    <person>
      <country_of_birth>DEU</country_of_birth>
      <created_by>sfadmin</created_by>
      <created_on_timestamp>2017-11-13T13:36:45.000Z</created_on_timestamp>
      <date_of_birth>1990-01-01</date_of_birth><br>

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

The SFAdapter already formats the response. I'm afraid it's not possible to make it look like screenshot 1. You can use the SOAP Adapter instead.

Regards,

Mark