Skip to Content
0
Former Member
Feb 02, 2017 at 08:31 PM

HCI | Adding wsa:MessageID in soap header

1257 Views Last edit Feb 02, 2017 at 08:36 PM 3 rev

Hi experts,

I'm working on an intergation flow that laods Emplyees into SAP ByD using the EmployeeCompleteMasterDataReplicateRequest operation of the HumanCapitalManagementMasterData Standard Web Service.

Before starting to develop the integration flow on HCI, I tried using SOAP UI and I was able to send the payload and create employees in ByD after enabling WS-Addressing and Randomly generate MessageId

While reading the SOAP UI logs I found that the header sent to ByD is the following :

<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
	<wsa:Action>http://sap.com/xi/AP/HumanCapitalManagementMasterDataReplication/Global/HumanCapitalManagementMasterDataReplicationEmployeeMasterDataReplicationIn/ReplicateCompleteEmployeeMasterDataRequest</wsa:Action>
	<wsa:MessageID>uuid:8dd7328e-f363-42fa-818f-ed548be738a1</wsa:MessageID>
</soap:Header>

I used an XSL Transformation step, to make the header looks like the one sent from SOAP UI, but I'm getting this error : LastError = org.apache.cxf.interceptor.Fault: Failed to send RM protocol message {http://docs.oasis-open.org/ws-rx/wsrm/200702}CreateSequence., cause: java.lang.IllegalStateException: No message protocol headers

I tried also to set headers using groovy script but I keep get the same message, and when I change the adapter to SOAP 1.x instead of SAP RM the flow doesn't start.

I hope I was able to explain the issue, can any one help please ? it's getting really critical..

Thanks,

BR,

Mohamed Amine

Attachments

sirh.jpg (66.7 kB)