| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Publishing Interface as Web Service (Web Service to RFC)3.
Configurations
in the Integration Directory In the Integration Repository first
we need to create one Business service, as the sender is SOAP and import the
Business system from the SLD as the receiver is RFC. 3.1
Create
Business service and communication channel Right
click on the Business service to create a new Business service
Right
click on the communication channel to crate communication channel for SOAP
sender
3.2
Import
Business system and create receiver RFC communication channel
3.3
Create
Sender agreement, Receiver determination, Interface determination and Receiver
agreement Sender
agreement
Receiver
agreement
Interface
determination
Receiver
determination
3.4
Define
web service To
define the web service, select define web service from the tools menu
It
will take you to the wizard, which enables you to create web service documents
in WSDL.
Click
on continue button It
will ask you to specify Integration Server SOAP inbound channel URL The syntax
of the URL is specified below The
inbound address for SOAP message is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
Click on continue button. Here we
need to specify the Name, Name space and Software component version of the
Message interface from the Integration Repository that we want to publish.
Click on continue button. Here we
need to specify the sender of the message. You then use these details to define
receiver determinations and interface determinations, for example
Now click on continue then Finish
button. It will generate the WSDL document. Save the document for further
processing. 3.
Test
the Scenario In order to test this scenario we
need third party tools like XML Spy or Microsoft InfoPath. In this example we are using XML
SPY to create and send SOAP request from the generated WSDL. Open XML spy editor to create a
SOAP request from the WSDL generated above.
Input Xml File <SOAP-ENV:Body> <m:MT_flight_req_ob xmlns:m="http://yash.com/xi/poc/WS_2_RFC"> <Flight> <CARRID>AH</CARRID> <CONNID>AA</CONNID> </Flight> </m:MT_flight_req_ob> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Send the SOAP Request to Server Tools->SOAP->Send Request To Server Output XMl File(response) <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Header/> <SOAP:Body> <ns1:MT_flight_res_ob mlns:ns1="http://yash.com/xi/poc/WS_2_RFC"> <flight> <CARRID/>0000</CARRID> <CONNID>0000</CONNID> <FLAG>4</FLAG> </flight> </ns1:MT_flight_res_ob> </SOAP:Body> </SOAP:Envelope>
|
|
|
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 |
||