OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-cppa message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [ebxml-cppa] Use of "action" to link to actual java processor


Supplemental question:
 
I'm looking at how CPA identifies a payload type - and the MIME packaging.  It appears to link this via the service type in the ebXML message header to the CPA service / action - or am I missing something?
 
If so - then what I'm suggesting appears to work - you identify the service in the message header - and then the action binding within that service definition is used to do the actual processing.
 
Thanks, DW


-------- Original Message --------
Subject: [ebxml-cppa] Use of "action" to link to actual java processor
From: "David RR Webber (XML)" <david@drrw.info>
Date: Tue, April 11, 2006 1:14 pm
To: ebxml-cppa@lists.oasis-open.org

Team,
 
I'm doing integration right now using Hermes - and I wanted to have a way of controlling the processing of message types directly from the CPA - to the java handler that processes the content.
 
It occurs to me I could extend the use of the tp:action attribute in the action binding to be the actual name of the java handler - since its just text anyway - the the two can be equivalent - e.g. human readable - machine executable.
 
What do people think here?  Is this total blasphemy - or is this acceptable extension?  Or is there a better way of doing this elsewhere in the CPA?
 
Given that the CPA is private this is something that two participants can share - and especially if they are sharing open source such as Hermes.
 
Thanks, DW
 
Encl: example CPA fragment -
 
      <tp:CanSend>
          <tp:ThisPartyActionBinding tp:id="companyA_ABID1"
            tp:action="Purchase_Order_Request_Action()"
            tp:packageId="CompanyA_Packaging">
            <tp:ChannelId>asyncChannelA1</tp:ChannelId>
          </tp:ThisPartyActionBinding>
          <tp:OtherPartyActionBinding>
            companyB_ABID1
          </tp:OtherPartyActionBinding>
        </tp:CanSend>
        <tp:CanReceive>
          <tp:ThisPartyActionBinding tp:id="companyA_ABID7"
            tp:action="Purchase_Order_Confirmation_Action()"
            tp:packageId="CompanyA_Packaging">
          ...
        </tp:CanReceive>
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]