Consumer endpoints and remote operations/input message types formation

Hello,
Couple of questions;
1) In case of a BC, a consumer endpoint (i.e. a proxy for an external consumer) doesn't need to be activated with the NMR -- is this understanding correct?
2) Moreover, as the SU for this component defines a "consumes" element in the jbi.xml , but the operation is not specified in the jbi.xml (but will be specified, in a configurtion artifact that goes inside the SU, as I understand).
Now, how would the BC dynamically form an NMR message that conforms to the operation input message type of the service it's consuming ? The BC will know about the remote operation and it's input message type only upon SU deployment..
Hope I am articulating my question clearly..

A binding component (BC), when dealing with a newly received request message from an external service consumer, must map the message to a particular service and operation (as defined by JBI's WSDL-based services model). How this mapping is performed depends on the nature of the protocol the BC handles, as well as the implementation of the BC.
To answer your specific questions:
1. Only provided services are activated, by the provider. Consumers (including a BC acting as a proxy for an external consumer) need only discover the service (at design- or run-time) in order to use it.
2. The SU jbi.xml exists to help design tools which wish to recompose service assemblies. The "consumes" element gives tooling information about static service dependencies of the SU. (This avoids requiring that the tooling have deep knowledge of the contents of the SU itself -- composition can be done using any SUs, regardless of how they were created.)
Recomposition of a service assembly is accomplished by matching service types, not individual operations.
3. The BC can create a NormalizedMessage (and a MessageExchange the will hold it) using three sources of information:
- The message from the external consumer
- BC configuration information (from SUs deployed to it)
- Service metadata (WSDL), as published by the service provider.
Note that in some protocols the message from the external consumer is not sufficient to determine which service and operation are required. In such cases so-called trading-partner data are needed, as part of the BC's configuration data (from SU deployments), to map an inbound request message to the service and operation needed.
So, to answer your final question (and hopefully I understand it correctly), in general the BC needs to be configured to create the external endpoint to which the external consumer can send messages. Depending on the nature of the BC, it may also need additional data about mapping messages to JBI's service-and-operation model of services. Dynamic mapping is certainly supported.
In typical binding components, the BC only "learns" of a new external endpoint that it must expose when a service unit is deployed to it. However, JBI does not restrict BC's to only using this mechanism. A BC could use a different mechanism, but this in general complicates administration and component portability.
Does that answer your questions?

Similar Messages

  • Defining input message Type for webservice interface with out input

    Hi all,
    I am configuring a scenario RFC -> XI -> Webservice. My sync webservice doesnot need any input. it genrates a random number which needs to be sent back to the RFC. How can i define an input message data type with out any data? As the interface requires both input and output data types in XI?
    I tried a dummy data type with a single string input and didn't map it. but its not working because of name space issues. i specified a seperate XML name space in Message Type but i get a Target URL as the name space in the request which i provided in the SOAP reciever adapter.
    Any help will be appriciated
    Thanks and best regards,
    Kulwant Singh

    Hi
    Can u chk the webservice request using test tools like stylus studio or xml spy and ensure that the same request is going out of XI .
    make sure that you have changed the default xml namesapce in the target MT.
    rgds
    Arun

  • Process and initiate operations in port types

    What is the difference between the process and initiate operation in the port types definition found in wsdl file? Is this used too define sync and async processes?

    Hi.
    As far as I understand, process and initiate are just naming conventions. What really makes the difference is that, for sync processes you have a single portType with an input/output operation, and for async processes you have two portType definitions, each one containing an input only operation.
    For sync processes, the requestor makes the call and waits for the response, using the same channel (same port).
    For async processes, the requestor makes the call in one port and forget about it. Later on, a callback can be generated through the other port type as a means of notifying the requestor back in an async way.
    Regards.
    Denis

  • What is the use and functionality of a message type

    Hi,
    I am new to abap. Can anybody tell me what is the use of the message type? What is it used for?
    There is an interface which is using an extended idoc type ZFIDCCP02 (Basic Type FIDCCP02). This extended idoc type is used for other interfaces and the interface in question. However the other interfaces are using the standard message type FIDCC2, but the interface in question is using a customized message type.
    Any idea what could be the reason?
    Thanks in advance.
    Mick

    Hi Mick,
    Message type tells the about the actual meaning of Idoc..
    later if you want to send data to external system the idoc type or extension type is not used..
    the message type is used for rest of the process..
    Idoc type is know as structure..
    << Cut and paste without attribution from http://www.*******************/2009_01_01_archive.html removed >>
    << Cut and paste without attribution from http://searchsap.techtarget.com/sDefinition/0,,sid21_gci852485,00.html removed >>
    << Points unassigned >>. 
    Regards,
    Prabhudas
    Edited by: Prabhu Das on May 14, 2009 8:38 PM
    Edited by: Rob Burbank on May 25, 2009 4:30 PM

  • Combine IDoc and RFC Respone in one Message Type

    Hello,
    I need to have the possibility to store the data of one IDoc and one RFC Response in one Message Type.
    The structure should be something like this:
    IDoc_AND_RFC_RESPONSE (root)
    --item (0..onbounded)
    ID (Attribute, type xsd:string)
    IDOC (Elemtent, type IDOC <--unfortunately not possible in data type definition)
    RFC_Response (Element, type RFC_Response <--unfortunately not possible in data type definition)
    The goal is to merge 2 messages (idoc data and the data of a rfc response) into 1 message with logical connected items.
    e.g.
    IDOC (message 1)
    --ID 01
    IDOC_DATA_01
    --ID 02
    IDOC_DATA_02
    RFC_Response (message 2)
    --ID 01
    RFC_DATA_0101
    RFC_DATA_0102
    --ID 02
    RFC_DATA_0201
    I need this data to be transformed into:
    IDoc_AND_RFC_RESPONSE
    --item
    ID 01
    IDOC
    IDOC_DATA_01
    RFC_RESPONSE
    RFC_DATA_0101
    RFC_DATA_0102
    --item
    ID 02
    IDOC
    IDOC_DATA_02
    RFC_RESPONSE
    RFC_DATA_0201
    The problem ist NOT how to do the mapping, BUT how to define the data type of the target message.
    The IDoc and the RFC have a very complex structure so manually building the structure is not possible.
    Thanks for your help.

    Hi,
    thank you for your hints.
    - How can I define one interface with 2 message types? I work with XI 3.0.
    - Manually manipulatiing the xsd files is what I wanted to avoid (besides that, there is no possibility to get the rfc as xsd, only wsdl). Besides that, I tried to extract the IDoc xsd and imported it as message type, but there is an error message telling me "Schema to be handled does not contain a definition of type <Data Type Name>", whereas <Data Type Name> is the name I give to the Data Type. I tried the name of the IDoc Type here. Importing the xsd as external definition would work, but that would still not solve the problem as I cannot use the message in my data type definition.
    Maybe I should specify the scenario a bit better:
    I have an R3 System sending an IDoc.
    The Idoc contains multiple items.
    The data in the IDoc is NOT sufficient (and due to warranty reasons and company guidelines, it is not possible to add all the needed data to the IDoc).
    Therefore, the IDoc is passed to an Business Process, where an RFC is invoked (input are the item IDs of the IDoc).
    So afterwar the rfc call, I have all neccessary data per item in 2 messages, the IDoc and the RFC response.
    Now I need to merge the data per item into one message.
    This one message than is splitted into the several items and every item has to be sent separately. So I need a possibility to unite the IDoc with the rfc response.
    Any hint?
    Thanks a lot!

  • Idoc type and message type

    how to find the idoc type and msg type for particular delivery no.
    [[i can see the idoc no in vl33n which i have to display in itab.]]

    <b>Message type</b>. A message type represents the application message exchanged between R/3 systems and R/3 and an external system. A message type characterizes the data sent across systems and relates to the structure of the data called an IDOC type (see below). For example, MATMAS is a message type for Material Master, and INVOIC is a message type for an Invoice (Billing Document). ALE supports over 200 message types in R/3 and about 200 application areas.
    <b>
    IDOC type and IDOC</b>. An Intermediate Document (IDOC) type represents the structure of the data associated with a message type (DEBMAS02 for message type DEBMAS — Customer Master, and WMMBID02 for message type WMMBXY— Goods Movements), while an IDOC is an object containing the data of a particular message type. IDOCs are data containers with intelligence built in. Each IDOC contains one and only one business object. For example, an IDOC of type SHPMNT01, message type SHPMNT, will contain data only of one Shipment Document. Generally, the architecture of an IDOC is independent of the message type by virtue of ALE’s ability to redefine it for any message type.
    <b>Use transaction BD64 or the following menu path to maintain the model: From the IMG (Implementation Guide), Cross-Application Components -> Distribution (ALE) (*) -> Distribution Customer Model -> Maintain Distribution Customer Model Directly -> Maintain Distribution Customer Model Directly.</b>
    Hope this helps you....
    Regards,
    Pavan

  • SWIFT MESSAGE TYPE

    Hi All
    I got a new requirement which has to work with SWIFT messages .
    which adapter has to use to convert SWIFT to XML.
    and in the 940 Message type is there any field to indicate whether its Financial related or others.
    Please let me know.
    Regards
    Ajay

    Hi Ajay,
    Once you have imported the SWIFT software components into IT as described in the installation guide.
    For MT101 Outbound:
    Use the SwiftMessage_FIN Service interface and create a configuration scenarios to pick and place the file. So only ID objects will be created and no IR objects. create IR object only if you need to modify the file name.
    In receiver File adapter, call localejbs/swift/FINConversionToSWIFTModule  module before the standard module. This will do the outbound MT101
    Fot MT101 Status message:
    Use the Operation Mapping: SwiftFIN_PaymentStatus which is present in the SWIFT software component. and complete the ID part for this.
    Configure a File to file scenario for this as well.
    Hope this helps.
    Regards,
    Aravind.

  • Message interface with two types of message types

    Hi experts,
    I am having problem that a proxy cannot be generated because  of the (mixed) types of the message types that the interface is using.
    The first message type is defined in the repository and another is defined as an external definition, imported in from an outside source.
    Here is the SAP message I received when I tried to generate the proxy for this interface.
    +++++++++++++++++++++++++++++++++++++++++++++
    Interface uses external and internal message definitions
    Message no. SPRX122
    Diagnosis
    In a message interface you can use messages from different sources:
    1. Message types and fault message types edited in the Integration Repository
    2. Messages imported into the Integration Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used.
    Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Integration Repository.
    ++++++++++++++++++++++++++++++++++++++++++
    The imported xsd is quite large and also contain many large includes. I don't have the option of creating the message type manually.
    Any suggestions?
    Thank you,
    -michelle

    Hi all,
    I tried several things and the problem is still not resolved. This is what I learned.
    First of all, I believed the SAP message about mixing of internal and external message is misleading or even wrong. I tried with both message types being external but I still get the same message that the interface has one internal and the other external message type.
    Secondly, since Arvind suggested that I might have used an xml element that is not currently supported by ABAP proxy, I then change to another definition with the most simplest elements. I then attached this other definition to the interface and tried generating the proxy again. I still get the same system message that I am using mixing of message types in one interface.
    My conclusion is XI still is not capable of generating ABAP proxy from external definition.
    Does anyone have any comments/suggestion/experience on this issue?
    Best regards,
    -michelle

  • How to create a message type

    Hi, All
      I need to create a message type, Enter the fields change pointers eligible for key changer in this message type. Extract program needs to be created and this program accesses the key changer field’s status and the changed values on day to day basis for the message type using tables BDCPS & BDCPV.
    Can any one tell me how to do this.
    Many Thanks.

    Hello siri
    I think if you talking with respect to ALE/IDOC or EDI/IDOC..........this posting has to be entered in data transfer.........................and you can create message type using trasaction we81.
    Vj

  • Output from JDBC Adapter mapped to multiple message types

    Hi!
    I face to a problem with the message mapping.. I do select with the JDBC adapter. This statement selects one field of clob type and it already contains a message - XML document. Depending of the type of this message will be done the message mapping and also the target message type depends on this XML document type. But when u define message mapping, there must be always a target message type... But in the design time, I don't know the exact type! It is dynamic...
    And not just with the message, the same situation is also with the target interface...
    Any ideas how to solve this?
    Thanx, Peter
    Message was edited by: Peter Jarsunek

    Hi,
    I saw the weblog, but I think more important is the 'XI in action' mentioned in this one..
    /people/ravikumar.allampallam/blog/2005/06/22/sap-xi-in-action
    What I just can not understand from that blog is the step 2/4:
    Receive XML file of any format and route to interface specific BPM..
    How is it possible? On the output from the 1st BPM must be exact interface defined... How can different messages go out and than into the 2nd BPM?
    Can you please write me, how the individual steps could follow after each other to achieve this?
    Message was edited by: Peter Jarsunek

  • How do you change message type linked to partner in WE20?

    Good Morning,
    May please have a piece of info about this subject:
    In we20 (partner Profiles) i can see that a partner of type LS (Logical System)
    has, as Outbound parameters, the CRMXIF_PARTNER_SAVE Message type.
    I want to change that to CRMXIF_PARTNER_SAVE_M Message type and also add another Message type, that is to say CRMXIF_PARTNER_REL_SAVE_M.
    Notwithstanding, I am not able to edit the grid.
    Am I lacking any of the authorizations? Or is it the wrong place to do that?
    Thank you very much
    Riccardo

    <i>Hai,
    you can open tcode we20 and make it in edit mode or other wise you can add a outbound parameter using the add button shown bellow the outbound parameter grid.
    regards,
    Gopinathan.
    </i>
    Hello,
    this seems the right direction.
    Yet, in my right - click menu, I have these choices:
    - Help
    - Choose
    - Back
    - Display
    - Cancel
    - Exit
    - Check
    - IDoc Output
    - Tree output
    - Position
    - Expand subtree
    - Collapse subtree
    In the "Edit" menu I have
    - Position
    - Expand subtree
    - Collapse subtree
    If I click on "position", I just have a "choose partner" window, but then I do not have the "choose message type" or anything that helps me choose the messages...
    Does this mean I am lacking any authorizations?
    thanks a lot, Riccardo

  • Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 ,214

    Hi friends,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender)., 214 (Shipment Status )
    For shipement status i got trxstc01 for idoc type .. but its only before 4.6 version ..for 4.7 its not there .. please give the alternate for that ...
    Thanks in Advance ....
    If any one is provide exact answer i will give Max marks ..
    Edited by: ajay KOLLA on Aug 6, 2009 8:04 AM

    Hi,
    Have you resolved this issue. If yes, can you please let me know. Im actually looking for same for EDI 867 (guess it is for summary report and need to know message type, Idoc type associated with this).
    Rgds
    Sudhanshu

  • Message Types in an IDOC Type

    How I can identify the various message types that are been plugged in an IDOC Type? What will be the Transaction Used to identify that?  I used the Transaction WE30, but I see the various segments that are been attached to the IDOC type and Not at the Message Type level. I used the IDOC type ORDERS02.
    SAP uses a single IDOC type for several logically related messages. For example, the Orders IDOC type (ORDERS02) is used for several messages, such as Order (ORDERS), Order Response (ORDRSP), and Order Change (ORDCHG).
    Create Message Type                          WE81
    Create IDOC Type                                WE30
    Assign Message Type to IDOC Type      WE82
    Can some one please help me? Appreciated.
    ,J

    You can check this in the table EDIMSG.
    Alternatively you can check this in WE82 as well:
    WE82 --> Menu func. 'Selection' --> By Contents --> Select "By Contents" --> I/P your basic type &  select "choose"
    This will give you the list of the basic types associated with the message types.
    Edited by: Suhas Saha on Jun 23, 2010 6:40 PM

  • What is Message Type & IDOC Type?

    He Experts!,
    What is Message Type & IDOC Type? What is the difference between them?
    Thanks in advance.
    Sekhar

    Hi,
    Please try these transaction codes.
    WE82 - Message Type and IDoc Type
    WE64 - Process Codes (Inbound and Outbound) for Message Type.
    Message type. A message type represents the application message exchanged between R/3 systems and R/3 and an external system. A message type characterizes the data sent across systems and relates to the structure of the data called an IDOC type (see below). For example, MATMAS is a message type for Material Master, and INVOIC is a message type for an Invoice (Billing Document). ALE supports over 200 message types in R/3 and about 200 application areas.
    IDOC type and IDOC. An Intermediate Document (IDOC) type represents the structure of the data associated with a message type (DEBMAS02 for message type DEBMAS — Customer Master, and WMMBID02 for message type WMMBXY— Goods Movements), while an IDOC is an object containing the data of a particular message type. IDOCs are data containers with intelligence built in. Each IDOC contains one and only one business object. For example, an IDOC of type SHPMNT01, message type SHPMNT, will contain data only of one Shipment Document. Generally, the architecture of an IDOC is independent of the message type by virtue of ALE’s ability to redefine it for any message type.
    Use transaction BD64 or the following menu path to maintain the model: From the IMG (Implementation Guide), Cross-Application Components -> Distribution (ALE) (*) -> Distribution Customer Model -> Maintain Distribution Customer Model Directly -> Maintain Distribution Customer Model Directly.
    Thanks,
    Sankar M

  • CSS Output Message Types

    We're syndicating spec data to an internal web service via CSS under 6.1. Specs are syndicated twice per GSM workflow to the same system, first as a "create" and then as an "update".
    So far in testing we haven't seen anything other than ADD types being output even when the same publication is syndicated more than once. The general GSM workflow steps are like this:
    1. Draft
    2. Developmental (Syndicate here as "create")
    3. Approved (Syndicate again here as "update")
    We would expect the message type at the Developmental step to be ADD, and then have a message type MODIFY at the Approved step to make it easier for the middleware program to know what it's looking at. But in both cases the XML comes out as an ADD in the syndicationCommand type attribute, and shows "Add" types in the catalog response section of the publication for both responses.
    I've tried using both the Initial Load and New publication types, but they both have the same results. The questions then, are:
    1. What triggers CSS to output a publication message as a MODIFY versus an ADD?
    2. Does the publication type selection make any difference to the system at all for internal syndication?
    Thanks!

    Doing External syndications handles this scenario by setting the type to MODIFY if it has already been syndicated. Your testing is showing that this isn't having the same behavior for Internal syndications.
    You could write a custom handler (like mentioned in [this previous post|https://forums.oracle.com/forums/thread.jspa?threadID=2376907] ) which checks if the spec has an already syndicated TIP and outputs a MODIFY value. You could use the ExportExtensions framework to do this.

Maybe you are looking for

  • Multiple ipods, one computer: HELP!!

    We have bought two ipod nanos for our family. I had used the CD to download one, and then used the 2nd CD that came with the 2nd ipod to download the 2nd nano. before installing the 2nd ipod, the computer required me to uninstall the first one. Did I

  • CS2 uninstall, mac desktop screen acting like photoshop image

    Recently my creative suite on my mac stopped updating showing an error, so each time now when updates arrive I cannot update. Now my 20" intel macs desktop image acts like a photoshop image? The desktop starts up and then expands beyond the screen, b

  • Why can't we have a real 'finalise'

    Hi :) As we know, all advice about the 'finalise' method is to never use it, don't override it, pretend it doesn't exist, and if you ever actually do write code in it, make sure it doesn't throw an exception, and make sure (can't remember if this is

  • No meNo media player of any type is wkg.

    No media player of any type is wkg. Windows "SFC/Scannow" reports resource protection found corrupt files unable to fix. My product no: A1T53UAR#ABA OS: windows 7 home premium, Happened after repairing wireless by system restore and coping a dvd cd.

  • Intel or not intel???

    Hi all! My G4 iMac is giving up the ghost and I am thinking about getting a new iMac. But I have heard that many of the programmes I use (mainly Adobe) don't support the intel chip so I would have to use rosetta and this can be slow. Is it worth up-g