Skip to Content
0

HCI | Adding wsa:MessageID in soap header

Feb 02, 2017 at 08:31 PM

504

avatar image
Former Member

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

sirh.jpg (66.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

M. van Dooren Sep 18, 2017 at 02:06 PM
0

SAP PI is providing the axis adapter for ws-addressing headers, but I'm not sure whether axis is supported in HCI?

Share
10 |10000 characters needed characters left characters exceeded
Daniel Weinberg Nov 06, 2017 at 03:29 PM
0

Hello Mohamed,

Did you finally solve your issue? I am facing the exact same issue right now.

Thanks,

Daniel

Share
10 |10000 characters needed characters left characters exceeded