Skip to Content
avatar image
Former Member

soap and http

i want to know http and soap scenarios plz explain me in some steps of whole process.

dont post links please

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Sep 09, 2008 at 06:08 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2008 at 06:08 AM
  • avatar image
    Former Member
    Sep 09, 2008 at 06:09 AM

    >>dont post links please

    one quick thot....y? 😊

    there are actually good weblogs/forum discussions that explain things in detail...and then u can ask your specific doubts... 😊)

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 09, 2008 at 06:17 AM

    Hi,

    Following are steps for SOAP scenario:

    WebService(SOAP) < > XI < > RFC (BAPI)

    A WebService which is already defined, used to Create PO in R/3 System and get confirmation Number as Response back. It Totally Sync Scenario. Following bapi is used Z_BAPI_POrder_Insert

    Procedure

    In R/3

    1.Create RFC Destination in R/3 to XI System of Type TCP/IP with ProgramID option

    in I.R

    2.Import RFC Z_BAPI_POrder_Insert

    3.Import WSDL into External Definitions

    4.Create Message Mappings (Two Required)

    5.Create Interface Mapping (One)

    6.Activate I.R

    I.D >>

    7.Create Scenario

    8.Assign Business Systems

    9.Create Sender Comm Channel

    SOAP

    Default Interface Namespace

    Default Interface Name

    10.Create Receiver Comm Channel

    RFC

    Application System

    System Number

    R/3 Login Details

    11.Create Sender Agreement, Receiver Determination, Interface Determination and Receiver Agreement.

    Following are the steps for Http to file scenario:

    If you want to pass some content from your HTTP client into a File then ...

    DESIGN.

    1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file

    2. Craate MessageTypes for the two datatypes.

    3.Create Message Interfaces. the One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.

    4. Do the mapping. It will be mostly a one to one mappingof the fields.

    5.Create the Interface Mapping.

    Configuration

    1. Import your Business System under your Configuration Scenario.

    2.Create 2 communication channels. One for Http as a sender and one for File as a receiver.

    check these links for the confiuration part.

    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm

    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

    3.Do the Receiver Agreement for file. HTTP doesnt need a sender agreement.

    4.DO the Receiver Determination and Interface Determination.

    Regards,

    Vinod.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      it depends... someone from appilcation system team can do it..

      for soap sender.. you can create a WSDL from ID--> Tools and give it to the application system team to consume it. they can then send soap msgs to XI if proper configs are done.

      for receiver, you can be given WSDL url and can use it in XI...

  • avatar image
    Former Member
    Sep 09, 2008 at 06:30 AM

    Hi

    SOAP Adapter...

    The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service servers and the Integration Server.

    Example of using SOAP Adapter..

    A remote client sends a SOAP message to the SOAP adapter on the Integration Server. The SOAP adapter converts the SOAP message to XI message protocol and transfers it to the Integration Server for further processing. Two receivers are determined:

    u2022A remote Web services provider

    u2022An SAP business system, which is able to receive XI message protocol directly

    On the receiver side, the SOAP adapter converts the XI message protocol into a SOAP message and then sends the message to the remote Web services provider. The other receiver simply receives the XI message protocol message.

    regards,

    Kishore

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 09, 2008 at 06:40 AM

    Hi,

    1. Webservice is a remote application which is available in the Web.

    2. XI communicates with Webservice by using SOAP adapter.

    3. XI can send data to Webservice and can receive data from it.

    For this web services WSDL file will be provided by the client or some times it will be created in XI.So totally we can say it depends on requirement.

    WSDL describes a particular web service. Using a wsdl, we are requesting the broker to point the exact system, application, message interface. Once it is found, the SOAP channel is opened between the provider and the consumer. So the WSDL is a must to access webservices.

    In XI, we have to define the Web service which we want to use for the Sender SOAP channel.

    It is done by choosing Define Web Service from the tool menu of Integration Directory.

    Steps to create the WSDL in the Integration Directory:

    1. Go to Tools  DefineWebService….

    2.A wizard will be open and click on continue

    3.A new window will be opened

    Specify the URL of the web service and click on continue

    If SOAP adapter channel belongs to service with party the address is as follows.

    http://<host>:<j2eeport>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>

    If SOAP adapter channel belongs to service without party the address is as follows

    http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>

    4. Click on continue a new window will be open, give the message interface name (outbound) and continue.

    5.Give service name, Interface name, Interface Namespace and click on continue

    6.and click on finish to create the Web Service Document

    7.A WSDL file will be created

    8.you can also save the WSDL file created, to save the WSDL file click on the save button

    9.A new pop up will be opened, specify the location where you want to save the WSDL file.

    The WSDL file created in the Integration Directory can be provided to the web service developer to create the web service

    There is no need to code any thing. Here, what you are doing is, just exposing the sender service,channel,Message Interface as a web service.

    In XI, we need to map the incoming messages to the target message( to the actual web service from the provider) format and to maintain the technical and logical routing between the sender and receiver.

    Regards,

    Vinod.

    Add comment
    10|10000 characters needed characters exceeded