There have been many requests to know how to consume webservice from ABAP. I wanted to share a rudimentary sample written in ABAP of how this can be done. I am not sure whether this is a right approach though it does the job. Inspiration for this approach was from DJ Adams weblog Forget SOAP - build real web services with the ICF
The output internal table (outtab) is designed after looking at the SOAP response. This can also be done dynamically using ABAP XSLT and CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE