on 01-25-2018 10:56 AM
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
request
response
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.