|
From: <da...@dr...> - 2005-09-15 16:16:51
|
<DIV>Cassio,</DIV> <DIV> </DIV> <DIV>The "missing" parts is the registry itself and Hermes validation routines. We just provide the code stubs that call the right parts of Hermes and Registry. Actually I've realized that the new release of OMAR 3.0 is slightly different, so some tuning may be needed to work with the latest Registry.</DIV> <DIV> </DIV> <DIV>However - here's the conceptual overview - should help with describing the process - (also the .PPT gives you examples).</DIV> <DIV> </DIV> <DIV>- CPA is edited with HTML form (example is there) - when user hits "submit" the XML is sent to servlet that then calls the registry API and inserts the CPA into the registry and assigns an "External ID" value as the CPA ID. Note: You will need to change the Javascript in the HTML form to create the CPA xml how you want it. Also in V3 OMAR the servlet may need to be tweaked to the latest OMAR V3 api call syntax.</DIV> <DIV> </DIV> <DIV>- Then when Hermes receives a message - take the CPA ID from the envelope, do a lookup to Registry (via http AJAX call) - and return the CPA instance. Check the service / action with the service / action from the ebXML envelope.</DIV> <DIV> </DIV> <DIV>You should find the \docs part of the ZIP file explains the changes made.</DIV> <DIV> </DIV> <DIV>DW<BR><BR></DIV> <BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid"><BR>-------- Original Message --------<BR>Subject: Re: [ebxmlms-general] Hermes CPA access<BR>From: Cassio Nishiguchi <ca...@9s...><BR>Date: Thu, September 15, 2005 10:59 am<BR>To: ebx...@li...<BR><BR>David,<BR>I've downloaded the zip file at that site and it seems that most of the code <BR>is missing. Looking at the mailing list archives, it seems the last person <BR>that tried it had the same problem. Can you provide a link to a better <BR>package or give me some insight into how this was done?<BR><BR>Thanks,<BR>Cassio<BR><BR>On Wed September 14 2005 07:37 pm, David Webber (XML) wrote:<BR>> We created a lookup to CPA instances in ebxml registry.<BR>><BR>> The code for this is available here:<BR>><BR>> http://ebxmlbook.com/interop/<BR>><BR>> Enjoy, DW<BR>><BR>> ----- Original Message -----<BR>> From: "Cassio Nishiguchi" <ca...@9s...><BR>> To: <ebx...@li...><BR>> Sent: Wednesday, September 14, 2005 5:20 PM<BR>> Subject: [ebxmlms-general] Hermes CPA access<BR>><BR>> > Hi,<BR>> > does Hermes provide any functions for handling the CPAs used to configure<BR>><BR>> it?<BR>><BR>> > I believe Hermes stores CPAs in the database and uses the fields in the<BR>> > ApplicationContext to do some basic checking before sending ebXML<BR>><BR>> messages,<BR>><BR>> > correct? So how does one go about loading a new CPA so that Hermes can<BR>><BR>> check<BR>><BR>> > against it? Does it have to be done directly in the database or is there<BR>><BR>> a<BR>><BR>> > tool/API for doing that?<BR>> ><BR>> > Thanks,<BR>> > Cassio Nishiguchi<BR>> ><BR>> ><BR>> > -------------------------------------------------------<BR>> > SF.Net email is sponsored by:<BR>> > Tame your development challenges with Apache's Geronimo App Server.<BR>><BR>> Download<BR>><BR>> > it for free - -and be entered to win a 42" plasma tv or your very own<BR>> > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php<BR>> > _______________________________________________<BR>> > ebxmlms-general mailing list<BR>> > ebx...@li...<BR>> > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general<BR>><BR>> -------------------------------------------------------<BR>> SF.Net email is sponsored by:<BR>> Tame your development challenges with Apache's Geronimo App Server.<BR>> Download it for free - -and be entered to win a 42" plasma tv or your very<BR>> own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php<BR>> _______________________________________________<BR>> ebxmlms-general mailing list<BR>> ebx...@li...<BR>> https://lists.sourceforge.net/lists/listinfo/ebxmlms-general<BR><BR><BR>-------------------------------------------------------<BR>SF.Net email is sponsored by:<BR>Tame your development challenges with Apache's Geronimo App Server. Download<BR>it for free - -and be entered to win a 42" plasma tv or your very own<BR>Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php<BR>_______________________________________________<BR>ebxmlms-general mailing list<BR>ebx...@li...<BR>https://lists.sourceforge.net/lists/listinfo/ebxmlms-general </BLOCKQUOTE> |