on 06-07-2016 8:25 AM
Hi Experts ,
I have scenario like,
Third party vendor sending offer data (Jason format) from their system to SAP system and once data updated in sap will send the response back to third party, like REST <>PO<>Proxy .I have completed the entire scenario, when we test from rest client I am getting empty response, sender message was not send to SAP system hence I am getting empty response..
Please check below design steps:
I have done 2DT(Sender, receiver)2DT(sender Response, Receiver Response),4MT,2OI(synchronous),2MM(mapping),2OM.
Mapping screen shot:
Testing:
Sender Json Payload:
{
"requisition_number": "456789",
"candidate_id": 123,
"form_of_address": "Mr.",
"first_name": "Pr",
"middle_name": "D",
"last_name": "K",
"gender": "Mr.",
"country": "India",
"birth_date": "05.10.1992",
"city": "Pune",
"postal_code": "364710",
"email": "p@gmail.com",
"experience_level_from": "2 yrs",
"experience_level_to": "4 yrs",
"skills": "Technologies",
"application_source_type": "Direct",
"application_source": "Direct",
"employee_code": "",
"agency": "",
"recruiter_code": "209877"
}
Data in MS:
<ns1:MT_TalentOjo_OfferData_Sender xmlns:ns1=
"http://XXX/XXX_SAP_OFFERUpload.com">
<requisition_number>456789</requisition_number>
<candidate_id>123</candidate_id>
<form_of_address>Mr.</form_of_address>
<first_name>Pratik</first_name>
<middle_name>D</middle_name>
<last_name>Kalathiya</last_name>
<gender>Mr.</gender>
<country>India</country>
<birth_date>05.10.1992</birth_date>
<city>Pune</city>
<postal_code>364710</postal_code>
<email>p@gmail.com</email>
<experience_level_from>2 yrs</experience_level_from>
<experience_level_to>4 rs</experience_level_to>
<skills>Technologies</skills>
<application_source_type>Direct</application_source_type>
<application_source>Direct</application_source>
<employee_code></employee_code>
<agency></agency>
<recruiter_code>209877</recruiter_code>
</ns1:MT_TalentOjo_OfferData_Sender>
Data in AM:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_SAP_OfferData_Reciever xmlns:ns0="http://XXX/TalentOJO_SAP_OFFERUpload.com"></ns0:MT_SAP_OfferData_Reciever>
We are not receiving Header data(Defined like “Offerdata” in Message type) in Jason format.
Kindly help me to resolve this issue.
Regards,
Sandhya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandhya,
your json request message is missing array OfferData
try with the below json in your rest client
{
"OfferData": [{
"requisition_number": "456789",
"candidate_id": 123,
"form_of_address": "Mr.",
"first_name": "Pr",
"middle_name": "D",
"last_name": "K",
"gender": "Mr.",
"country": "India",
"birth_date": "05.10.1992",
"city": "Pune",
"postal_code": "364710",
"email": "p@gmail.com",
"experience_level_from": "2 yrs",
"experience_level_to": "4 yrs",
"skills": "Technologies",
"application_source_type": "Direct",
"application_source": "Direct",
"employee_code": "",
"agency": "",
"recruiter_code": "209877"
}]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandhya,
I think we need to create only one OM in that we can assign req and response message.based on that only flow will continue i guess
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.