cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP header problem

0 Kudos

Dear experts,

I have a question need your help.
I create a web service server base on Axis2 which is deployed on Tomcat.

and I create a consumer service by SAP side which need to consume the web service.

then I wrote a abap report to display the response message.

but the problem is: i want to use Axis2 soapsession to store the data between 2 java methods (means 2 services), if I want to use this kind of session, soap need to support WS-A first, then I need to get the specific node which store soapsession id in response header and send them back to server next time.

I search the internet, found

IF_WSPROTOCOL_WS_HEADER->GET_RESPONSE_HEADER

this method can get the soap response header, but when I used it in my abap report, I got nothing! why? can someone help?

when I use SRT_UTIL to trace the response payload, I found sap could get the correct xml payload, but why this method GET_RESPONSE_HEADER couldn't get any data?

SRT_UTIL trace

abap code

sap3.jpg(144.8 kB)

request

response

Accepted Solutions (0)

Answers (0)