| Home • Tips • Tutorials • Sample Specs • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
Email a FriendWhat's New?
Contribute?What's Hot? |
Scenario on RFC to SOAPBy Viswanadh, PI Competency Team, Yash Technologies In this
blog, we will discuss on how to design and configure a scenario to use sender
RFC adapter and receiver SOAP adapter.
RFC
adapter in XI Adapter Engine supports Secure Network Communications (SNC). It is
used to get connected to SAP R/3 system, used for synchronous communications and
receive RFC messages when triggered in SAP R/3 System. SNC protects the data
communication paths between the various components of the SAP System. RFC
adapter converts the RFC data into RFC XML (XML message format) and send it
Integration engine for further processing using the pipe line steps. SOAP
adapter in XI Adapter Engine is used to exchange SOAP message between
Integration server and Web service servers. Though you can specify security
settings to be used to sign/verify the message to add security to the message
exchange, scenario is developed selecting HTTP as transport protocol and SOAP
1.1 as message protocol. The
scenario in this posting is to trigger RFC message to XI that will send SOAP
message to Web Service server to execute its method like sending a SMS to remote
mobile and gets the response message and passes it to source R/3 System. Find below
the step-by-step procedure to achieve this scenario: Development
in R/3 System: a.
RFC is created at the R/3 side with the following parameter
Designing
activities in Integration Repository: 1.
Enable the option “import of RFC/IDOC permitted” of Software
component version to import RFC into XI as illustrated in below:
No need of
Creating Objects for Outbound Interface when we import the RFC from R/3 system,
we get the relevant Data Type, Message Type and Message Interface along with it. 2.
In this
scenario we are using method “SendSMSToIndia”
from Free Web Service of “webservicex”.
http://www.webservicex.net/WS/WSDetails.aspx?WSID=59&CATID=4 So, the scenario has been made interesting which would send
an SMS to a remote mobile. The
SendSMSToIndia Method sends the SMS to Given Mobile Number as Input parameters
SendSMSToIndia
Method Input
parameters: Mobile Number, FromEmailAddress, Message Output
information:
FromEmailAddress,
Mobile Number, Provider,
State, Status 3.
SOAP Connection
parameters would be as follows: Target URL
: http://www.webservicex.net/SendSMS.asmx?WSDL
SOAP Action: http://www.webserviceX.NET/SendSMSToIndia Ø
Inbound Data Type For
Inbound data type, download the WSDL
file SAVE
as SendSMS.wsdl and create a new
External Definition using the SendSMS.wsdl
WSDL File
4.
Create Outbound
Message Interface
5.
Create Inbound Message Interface
6.
Create Message
Mapping to convert RFC structure to Web Service Request
7.
Create another Message Mapping to convert Web service Response to
RFC Response
8.
Create Interface Mapping
|
|
|
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,
Inc. is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||