You are on page 1of 9
swt, 17:83 Community How to Create Web Servicas ABAP based | SAP Blogs: Aska Question Write a Blog Post Follow Like R\ RSS Feed Juan Manuel October 24,2012 | 2minute read How to Create Web Services ABAP based Fl 19 @ 150655 Using SAP XI/PI middleware we can create and expose WebServices, in this blog we are going to try to explain how an ABAP WebService can be created, exposed and tested only using ABAP. First, we have to expose a Function Group as an Enterprise Service which is going to be ready to be called. We'll use Function Group Z_WEBSERVICE_TEST which has Function Module Z_CALCULO and we are going to expose it as an Enterprise Service, We are using the wizard for Web Service creation. Right click on the Function Group, then select Create -> Web Service hitps:ologs.sap.com/2012/10/24Mhow-to-create-web- Single Service Administration. hitps:ologs.sap.com/2012/10/24Mhow-to-create-web- ~ Susi Gethin tare tiamespace="uresap-com:decument-sapsfetunctions! Sine mma) /echamas.xmlceap.o19/ weal me oes: umsap. omdocumentssoprtefunelons” snp] /acsemns-rmbsoap.ony/w2/2008/09/paley” ‘rire fcs.cont-open ra/wss/2009/01/ cs 200401 was wsnecArRy HRY ‘Snodhdecuentatione “Soci sine) mRg/ /warw sap.com/2007 03/46” /> jue documentabon® “Srapsvanghchey wedtequredatre > “SespPeey 5:10 BN_ BN ZWS_CALCULO"> “Sap tnitd Optniessi Transfer =p: / feral ap. com/2006/11/ 2xi/osp nxn Suis sopttrd“¥tp:// we nepscom webas/710/ soap features transporting)” sp cpucnato'trwe > iver optni=s5o Transfer uie"tp:/ wwe w.0rg/ 2008/08 s0ap/features tp: tinizaton Tir septritnd="tp://wmw.sap.com/webos/710/scap/ features iransporttining/* rip. Cptenal=true > ep eaztione imine ep~hep/ shams. xelsoap.org/ws/ 2004/09 policy” “rs sopab—htp:/fwwrw-sap.com / webas/630/ soop/teatures/ security policy” “nis: spe "hp://does.oosi-penorg/ Ws sk) ws-securtypotey/ 200702" hin ese hp fnew on9/ 2008/08 /adaroseing: ‘nls-nsu"htp//schemon smanap.crg/eo/2002/07 puity”> ‘spits Sap: Traneportnding> “SeapPebey> S'Sp-raniporroken> cusp Boley With this, we have finished the creation of the WebService and it's ready to be used for any external application. hitps:ologs.sap.com/2012/10/24Mhow-to-create-web-

You might also like