Developing a Web Service to send an email

...Previous

Test the function module. The message entered in the I_MESSAGE will be send as email to the recipients given in I_RECIPIENT and the send status is returned in E_RETURN 

Run Tcode: SCOT to send mail. 

To create web service from function module: 

image 

 Give the name for web service  image 

image 

PRF_DT_IF_SEC_HIGH
Authentication using certificates and transport guarantees.

PRF_DT_IF_SEC_LOW
Authentication using User ID and password, no transport guarantee.

PRF_DT_IF_SEC_MEDIUM
Authentication using User ID and password and transport guarantee.

PRF_DT_IF_SEC_NO
No authorization and no transport guarantee.

image

Give the Package and transport request.

image 

After finishing this. Goto

 Tcode: SOAMANAGER

Select Business administration -> Web Service Administration

image image

 Select the service created and click on apply selection button.

image

This WSDL file URL path link is used for generating proxy class.

Now for consuming the web service in ABAP. We need to create Proxyclass.

Goto Tcode: SE80

Under your package right click and create Enterprise Service.

image 

image

image

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image