cancel
Showing results for 
Search instead for 
Did you mean: 

poll interval

Former Member
0 Kudos

hi SAP_XI experts,

can u explain me what is the use of message interface in the scenario.

Accepted Solutions (0)

Answers (6)

Answers (6)

aashish_sinha
Active Contributor
0 Kudos

Hi,

You create an inbound and an outbound message interface in the Integration Repository of SAP XI for Inbound and Outbound flow.

To create the inbound message interface, you can import the function module into the SAP XI Integration Repository. If you are using an existing SAP XI scenario, the outbound message interface is already in the Integration Repository. Then you only need to create the inbound message interface

Please use a correct subject line. its against the rule of SDN.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Vijaya,

You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure. Depending on the communication parameters defined for a message interface, it can either have the task of sending a request (outbound) or receiving a request (inbound). Assigning an outbound interface to an inbound interface enables multiple communication parties to exchange messages with each other .The following connections are possible for message interfaces:

· A message interface with another message interface

· A message interface with an imported interface

· A message interface with an interface configured by an adapter

By using proxy generation, message interfaces enable ABAP and Java applications to be interconnected.

former_member556603
Active Contributor
0 Kudos

Hello Vijaya,

Message Interface

Use

You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure. Depending on the communication parameters defined for a message interface, it can either have the task of sending a request (outbound) or receiving a request (inbound). Assigning an outbound interface to an inbound interface enables multiple communication parties to exchange messages with each other (see also: Communication Parties (Case Examples)). The following connections are possible for message interfaces:

· A message interface with another message interface

· A message interface with an imported interface

· A message interface with an interface configured by an adapter

By using proxy generation, message interfaces enable ABAP and Java applications to be interconnected.

Prerequisites

From message interfaces, you reference message types, fault message types, messages from external definitions, or RFC or IDoc messages. It is possible to save message interfaces without referencing these objects, but their definition would then be incomplete.

Features

Communication Parameters

When you create a message interface you define the communication parameters by using the attributes Mode and Category. You can create the following types of message interfaces:

Category

Mode

Use

Synchronous

Asynchronous

Inbound

Synchronous inbound message interface

Asynchronous inbound message interface

Proxy communication

Outbound

Synchronous outbound message interface

Asynchronous outbound message interface

Abstract

Synchronous abstract message interface

Asynchronous abstract message interface

Defines the process signature

Depending on the attributes you define for the message interface, you either need to reference one or two message types in Message Types. Therefore, the input message type defines the expected message, while the output message type defines the message sent.

If you want to handle application-specific errors or persist them in monitoring, assign the corresponding fault message types to the message interface as well.

Fault messages transfer errors on the receiver side to the sender or to monitoring. Therefore, you cannot define fault messages for asynchronous abstract message interfaces or asynchronous outbound message interfaces.

Enhanced Functions

Once you have created a message interface you can do the following:

· Assign context objects for request message fields to use later instead of XPath expressions in an integration process or in logical routing.

· Generate a proxy for use at runtime by using ABAP proxy generation or Java proxy generation.

· Export the interface description as a WSDL document (see: Exporting XSD and WSDL Documents).

Activities

...

1. Create a message interface on the design maintenance screen of the Integration Builder (see: Creating an Object).

2. Enter a description for your message interface.

3. Define the communication parameters in the Attributes frame.

4. In Message Types, reference the required input or output message types, or both. For a list of the possible object types, see Interface and Message Types.

5. If the interface is not an asynchronous outbound message interface or an abstract message interface, you have the option of referencing fault message types in the lower table in the Message Types frame. To do so, use the following functions:

Edit References to Fault Messages

Function

Use

Adds an additional line to the table. Enter the fault message type in the inserted line either manually or by using the input help (see below).

Located at the end of a table line. Calls the input help to select a fault message type.

Changes the sequence of the fault message types.

Deletes a reference to a fault message type.

6. You have the option of assigning context objects to fields by using the input help. This is possible for scalar type attributes and elements.

7. Save your changes.

Thanks,

Satya Kuamr

Reward if it is useful..

prateek
Active Contributor
0 Kudos

How r u relating it with subject "Poll Interval"

Regards,

Prateek

vijay_b4
Active Contributor
0 Kudos

Hi Vijaya,

The data types are created to build the structure of the messages, may it be in sender or in the receiver side or both.

The message types are created to refer to the proper structure i.e. data type for message exchange in sender side or receiver side or both.

The message interfaces refer to message types which refers to the intended data type. They are created to inform XI whether the message is outbound (message from sender side), inbound (message to receiver side) or abstract (both sided). Message Interface gives the direction in which the data is flowing as well as whether the Interface is expecting a reply for the message sent ( Asynchrounous and synchronous )

Reward points if this helps.

Regards

Vani.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>can u explain me what is the use of message interface in the scenario.

Which says the direction ( inbound or outbound )

Regards

Sangeetha