on 2012 Sep 06 6:19 AM
Hi,
I want to send some data from ERP system to a third party URL(https ) and update tables on that third party server.
How can i do that using IF_HTTP_CLIENT and what all configurations are required?
also , do i need to use web services also along with this?
i Dont want to use SAP PI.
Thanks & Regards
Leena Khatri
Hello Leena,
Tell the Third party developer to provide you the Webservice ( WSDL file ).
generate a proxy in ur ERP system using that WSDL.Just call that class method with proper data it will solve your purpose.
OR you can consume that webservice by calling that URL using class : CL_HTTP_CLIENT
Thanks
~Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
yes i meant web service URL .
May be below code can give u some idea..
cl_http_client=>create_by_url(
exporting url = '
http://www.w3schools.com/webservices/tempconvert.asmx'
importing client = lo_http_client ).
lo_http_client->send( ).
lo_http_client->receive( ).
lo_response = lo_http_client->response.
in this code URL is webservice
here lo_response will hold the response
Thanks
~raj
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.