#701, extensible protocol support now available.

2 views
Skip to first unread message

Dagmar Timler

unread,
Apr 26, 2012, 5:53:15 AM4/26/12
to openXdata Developers
Hi

A big thank you to Brent for implementing a new extensible protocol which enables us to communicate with 3rd party software.
This has been merged into the trunk with revisions r6044 and r6043

He has also implemented an ODK version of the protocol, and a sample REST application. See tickets 

The next step is applying the ODK patch, once it has been verified (in the next iteration), and then implementing a comprehensive REST protocol.

I am in the process of writing and updating the documentation, but see the attached diagrams for a start. Please send feedback/comments!

Thanks
Dagmar

protocolClassDiagram.gif
protocolSequenceDiagram.gif

Øystein Lund Rolland

unread,
Apr 26, 2012, 6:21:42 AM4/26/12
to openxd...@googlegroups.com

This is great news! Thanks for the effort :-)

--
You received this message because you are subscribed to the Google Groups "openXdata Developers" group.
To post to this group, send email to openxd...@googlegroups.com.
To unsubscribe from this group, send email to openxdata-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openxdata-dev?hl=en.

Shashank Garg

unread,
Apr 26, 2012, 7:04:15 AM4/26/12
to openxd...@googlegroups.com, Shashank Garg
Hi Dagmar and Brent,

This is fantastic. Integration with ODK-Collect will really enrich the OXD platform and give us an additional client.

Shashank


Dagmar

Raghu Mittal

unread,
Apr 26, 2012, 7:11:45 AM4/26/12
to openxd...@googlegroups.com
This is exciting stuff. Thanks for the effort, Brent and Dagmar. :-)

On Thu, Apr 26, 2012 at 3:23 PM, Dagmar Timler <diggi...@gmail.com> wrote:
Dagmar

Dagmar Timler

unread,
Apr 26, 2012, 7:44:16 AM4/26/12
to openxd...@googlegroups.com
All the credit must go to Brent.
I have updated the diagrams. Please see attached.

Dagmar
protocolClassDiagram.gif
protocolSequenceDiagram.gif

Samson Gejibo

unread,
Apr 26, 2012, 10:02:32 AM4/26/12
to openxd...@googlegroups.com
Hi Dagmar,

I would like to ask you a question. I can see a filter on the diagram. With this approach, is the MultiProtoSubmitFilter intercept an incoming Request, perform an authentication, load a proper protocol-API, and  pass the Request to MultiProtoHttpServletRequest?

Best,

Samson 
__________________________________________________
Samson Gejibo
 
Centre for International Health (CIH)
University of Bergen (UiB)
Bergen, Norway
 

Dagmar Timler

unread,
Apr 26, 2012, 4:33:07 PM4/26/12
to openxd...@googlegroups.com
Hi Samson

Thanks for the reply, and the question.

Yes, the MultiProtoSubmitFilter intercepts an incoming Request, performs authentication, loads the proper protocol-API (using the ProtocolLoader and ProtocolResolver), and `wraps` the Request `in a` MultiProtoHttpServletRequest, 
...
which is used by the MultiProtoSubmission to execute the ProtocolHandler request. Note: ProtocolResolver and ProtocolHandler are interfaces that must be implemented by each protocol-provider.

I hope this helps
Dagmar

Samson Gejibo

unread,
Apr 26, 2012, 5:03:10 PM4/26/12
to openxd...@googlegroups.com
That's all I need.

Thanks.

--Samson
Reply all
Reply to author
Forward
0 new messages