| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Creating ABAP based web services and consuming the same in ABAPBy Chandra Dasari, YASH Technologies Description: Creating ABAP based Web services and
consuming in report. In this example we will be using wizard provided by SAP. Go
to SE37. Enter the name of the function module already created.
Menu->utilities->more utilities->create
web service->from function module:
Enter the Service Definition Name followed by
short text as shown below
Select the end point, as of now the following
options are available
Select the function module created earlier
Since we are using basic Authorizations, select
the option as shown
Make sure we select the check box “release
Service for Runtime” If this is not selected we need to go to TCode:
“WSCONFIG” & release it This is the final screen for wizard before
completion.
Click
on “Complete” and save it in package. Go
to TCode wsconfig to check whether
the wsd created has been released for soap runtime
Click
on “Display” button
Click
on “ICF Details” button The
web service is created in “sicf”
transaction as shown
Go
back
Yes
the green icon shows the wsd is released successfully for soap runtime. Generating the wsdl from wsd Go
to transaction code wsadmin as shown
Select the wsd for which the wsdl has to be
generated. Make sure the administrative settings has been
configured
Click on generate function after selecting the
respective wsd
Save the wsdl file on to the local pc for further
use
Testing the web service
Click on “submit” button
Copy the wsdl as shown WSDL:
http://yhsapx09.yashsap.com:8003/sap/bc/srt/rfc/sap/Z_ESA_GETCARRIERS_WSD?sap-client=100&wsdl=1.1 Click on “test” button to test the
functionality of web service
Click on the parameters Enter the input parameters and click on submit
Comments:
The web service has been tested successfully and is ready to use. Create any client application for consuming it. |
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||