[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: OrionSMG now has a JCAM Plugin
-------- Original Message --------
Subject: OrionSMG now has a JCAM Plugin
From: "Gary Pickering" <gary.pickering@orionsmg.com>
Date: Thu, March 15, 2007 7:34 pm
To: "'David RR Webber (XML)'" <david@drrw.info>
Cc: <martin.me.roberts@bt.com>, "'Chris Storah'"
<chris.storah@orionsmg.com>, "'Oliver Goodman'"
<oliver.goodman@orionsmg.com>
Hi David,
Just to let you know we have added a JCAM plugin into our source code (you
would have to do an SVN checkout to get the latest version). This plugin has
been tested on Windows but not on any other platforms.
Attached is a sample message which can be sent to a remote server
(http://61.9.138.160:8181) using the usender or send applications included
with OrionSMG. This is a quick test to show the sample message being sent,
have the payload validated by JCAM and have the validation result returned.
Today I will add the documentation to our Wiki pages.
Example of usage:
C:\workarea\osmg\trunk\dist\debug>send -v ..\..\remote_jcam_test.txt -to
http://61.9.138.160:8181
Or
C:\workarea\osmg\trunk\dist\debug>usender ..\..\remote_jcam_test.txt
http://61.9.138.160:8181
Regards
Gary
Gary Pickering
Egton Medical Information Systems Ltd
email: gary.pickering@orionsmg.com
Tel: (03) 976 97246
Mobile: 0404 361 714
emisdev.com
www.emis-online.com
www.patient.co.uk
Privileged and/or Confidential information may be contained in this message.
If you are not the original addressee indicated in this message (or
responsible for delivery of the message to such person), you may not copy or
deliver this message to anyone. In such case, please delete this message,
and notify us immediately. Opinions, conclusions and other information
expressed in this message are not given or endorsed by EMIS nor can I
conclude contracts on its behalf unless otherwise indicated by an authorised
representative independently of this message.
EMIS reserves the right to monitor, intercept and (where appropriate) read
all incoming and outgoing communications. By replying to this message and
where necessary you are taken as being aware of and giving consent to such
monitoring, interception and reading.
EMIS is a trading name of Egton Medical Information Systems Limited.
Registered in England. No 2117205. Registered Office: Park House Mews, 77
Back Lane, Off Broadway, Horsforth, Leeds, LS18 4RF
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/722 - Release Date: 14/03/2007
3:38 PM
SOAPAction: "jcam"
Content-Type: multipart/related; charset="UTF-8"; type="text/xml"; boundary="MIME_Boundary"; start="test"
--MIME_Boundary
Content-Id: test
Content-Type: text/xml; charset=UTF-8
<?xml version="1.0" encoding="utf-8"?>
<SOAP:Envelope xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd">
<SOAP:Header>
<eb:MessageHeader eb:version="2.0" SOAP:mustUnderstand="1">
<eb:From>
<eb:PartyId eb:type="urn:test:names:partyType:ocs+serviceInstance">PARTY1-0000001</eb:PartyId>
</eb:From>
<eb:To>
<eb:PartyId eb:type="urn:test:names:partyType:ocs+serviceInstance">PARTY1-0000001</eb:PartyId>
</eb:To>
<eb:CPAId>cpaid1</eb:CPAId>
<eb:ConversationId>$(GUID)</eb:ConversationId>
<eb:Service eb:type="orion">orion:jcam</eb:Service>
<eb:Action>ValidatePayload</eb:Action>
<eb:MessageData>
<eb:MessageId>$(GUID)</eb:MessageId>
<eb:Timestamp>2005-09-17T18:09:20.147+01:00</eb:Timestamp>
</eb:MessageData>
</eb:MessageHeader>
<eb:SyncReply eb:id="abcdef" eb:version="2.0" SOAP:mustUnderstand="1" SOAP:actor="http://schemas.xml/soap/actor/next"/>
</SOAP:Header>
<SOAP:Body>
<eb:Manifest eb:id="ManifestTest" eb:version="2.0">
<eb:Reference xlink:type="simple" xlink:href="">
<eb:Description xml:lang="en-us">Use the template specified to validate the payload</eb:Description>
</eb:Reference>
</eb:Manifest>
</SOAP:Body>
</SOAP:Envelope>
--MIME_Boundary
Content-Id: templateValidate
Content-Type: text/xml; charset=UTF-8
<jcam xmlns="http://www.orionsmg.com/pub/schemas/orionjcam.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.orionsmg.com/pub/schemas/orionjcam.xsd orionjcam.xsd">
<template>
<value>
<b64data>
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gTklIIGVSQSBlQ0dBUCBDQU0gVGVtcGxhdGUNCglTdWl0YWJsZSBmb3IgQ0FNIGxldmVsIDEgZm9yIHZlcnNpb24gMC4xMyB3aXRoIGV4dGVuc2lvbnMgLS0+DQo8YXM6Q0FNIENBTWxldmVsPSIxIiB2ZXJzaW9uPSIwLjEzIiB4bWxuczphcz0iaHR0cDovL3d3dy5vYXNpcy1vcGVuLm9yZy9jb21taXR0ZWVzL2NhbSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vd3d3Lm9hc2lzLW9wZW4ub3JnL2NvbW1pdHRlZXMvY2FtIGZpbGU6Ly8vRDovZWNsaXBzZS93b3Jrc3BhY2UvY2FtcHJvY2Vzc29yL3NjaGVtYS9DQU12MDE1MS54c2QiDQogIHhtbG5zOmViPSJodHRwOi8vZXJhLm5paC5nb3YvUHJvamVjdG1nbXQvU0JJUi9DR0FQL1NPQVB0cmFucy5uYW1lc3BhY2UiPg0KCTxhczpIZWFkZXI+DQoJCTxhczpEZXNjcmlwdGlvbj5WYWxpZGF0ZXMgYSBTaW1wbGUgU09BUCBkZWZhdWx0IHRyYW5zYWN0aW9uPC9hczpEZXNjcmlwdGlvbj4NCgkJPGFzOk93bmVyPk5JSCBlUkEgZUNHQVA8L2FzOk93bmVyPg0KCQk8YXM6VmVyc2lvbj4wLjE8L2FzOlZlcnNpb24+DQoJCTxhczpEYXRlVGltZT4yMDA0LTA5LTA5VDE3OjAwOjAwPC9hczpEYXRlVGltZ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mVzc1VzZUNvbnRleHQ+DQo8L2FzOkNBTT4NCg==
</b64data>
</value>
</template>
<payload>
<value>
<b64data>
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxlYjpNZXNzYWdlRGF0YSB4bWxuczplYj0iaHR0cDovL2VyYS5uaWguZ292L1Byb2plY3RtZ210L1NCSVIvQ0dBUC9TT0FQdHJhbnMubmFtZXNwYWNlIj4NCiAgPGViOk1lc3NhZ2VJZD5BQTwvZWI6TWVzc2FnZUlkPg0KICA8ZWI6VGltZXN0YW1wPjIwMDQtMDktMDlUMTc6MDA6MDA8L2ViOlRpbWVzdGFtcD4NCjwvZWI6TWVzc2FnZURhdGE+
</b64data>
</value>
</payload>
</jcam>
--MIME_Boundary--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]