on 05-30-2011 11:31 AM
Hi All,
The scenario is
A third party system is sending text using HTTP post method to the URL which is defined by us. We are accessing this text in a wrapper class, which is included in the SICF service. From SICF service we are creating a message in SXI_MONITOR as mentioned in below link.
/people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter
Now we want to send a response back to the third party system. How to create a response and sent to the third party system?
The third party system want the response from the server means once they hit the URL they should immediately get the response. Ex: When we hit any URL we get a response from site showing their page or any message. In our case the response is blank page.
Please guide
The solution was following code. Called the code and was able to pass Response.
lr_response = server->response.
lv_value = 'Your leave request has been received'.
lr_response->set_cdata( lv_value ).
lr_response->set_status( code = 400 reason = 'Document not found!' )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.