stored procedures to webservices

Started by ivo nascimentoabout 18 years ago3 messages
#1ivo nascimento
iannsp@gmail.com

Hi everybody,
I' m work on a software to create automatic webservices for stored
procedure in any language.
It's almost like the explain above:
have one table pg_plwebservice
Have one sp hello, develope in any languages like sql, plpgsql(trusted or
untrusted)like for example.
The DBA check this sp to be a webservice.
the client request like for example : http:localhost/
the inetd know this is a resquest for plwebservice software and redirect
te request.
plwebservice is a C++ software and you mission is:
understand http request and Webservice default descriptions.
connect to database.
verify what sp was requested and. Verify the data sended for client and
proceed with the sql statment to request postgresql sp.

My question is, for all. That is a good idea?

Any question and/or advice are welcome.

thans for advanced.

Ivo Nascimento.

--
Iann
--------------------------------------------
Desenvolvendo soluções com performance e segurança.
------------------------------------------

#2Josh Berkus
josh@agliodbs.com
In reply to: ivo nascimento (#1)
Re: stored procedures to webservices

Hey, Ivo,

I' m work on a software to create automatic webservices for stored
procedure in any language.

Seems like the new XML and XLST support should fit in here somewhere.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco

#3ivo nascimento
iannsp@gmail.com
In reply to: Josh Berkus (#2)
Re: stored procedures to webservices

Hello Josh,
the XML and XLST are data presentation only?

the idea is provide some like one Http request where I can post data for a
Stored procedure and receive one Http response using WSDL description and
SOAP transport to implement the web service.
Where can I find more info about this new feature(XML AND XSLT)?

2007/12/16, Josh Berkus <josh@agliodbs.com>:

Hey, Ivo,

I' m work on a software to create automatic webservices for stored
procedure in any language.

Seems like the new XML and XLST support should fit in here somewhere.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco

--
Iann
--------------------------------------------
Desenvolvendo soluções com performance e segurança.
------------------------------------------