a nice use for orapig...

2 views
Skip to first unread message

Mark Harrison

unread,
Jun 30, 2008, 8:19:31 PM6/30/08
to orapig-dev
I'm still digging out,but here's a nice msg that
just came in...


-------- Original Message --------
Subject: OraPIG
Date: Mon, 30 Jun 2008 08:49:12 +0200
From: Przemek Piotrowski <p...@rownum.com>
To: m...@pixar.com

Hi Mark, excellent job with the OraPIG, just wanted to drop by that
under Windows it works perfectly as well. I was able to implement a
basic Web Service on the interface generated with pig in just 4 lines.
My real-world use case: orapig with unittest to implement PL/SQL testing.

from SimpleXMLRPCServer import SimpleXMLRPCServer
server = SimpleXMLRPCServer(('localhost', 8080))
server.register_instance(orapig_object)
server.serve_forever()

Regards,

--
Przemek Piotrowski

Reply all
Reply to author
Forward
0 new messages