Skip to Content
avatar image
Former Member

HCI | Adding wsa:MessageID in soap header

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 18, 2017 at 02:06 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 06, 2017 at 03:29 PM

    Hello Mohamed,

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

    Thanks,

    Daniel

    Add comment
    10|10000 characters needed characters exceeded