[wsf-c-dev] Embedding mysql to axis2
Samisa Abeysinghe
samisa at wso2.com
Wed Feb 14 21:20:41 PST 2007
Diluka Moratuwage wrote:
> Hi all,
> Relevent to embedding mysql into axis,
Or Axis2/C into MySQL?
> we can make a seperate
> software module, which helps a database owner to expose his database's
> information, using a mysql database(or any other), as a webservice.
>
> In order to use the module, which we are going to implement, the
> database owner, needs to write a configuration xml file, which
> describes all the services which are exposed, and also the format,
> of how the input and output would be.
>
> The following example shows, an example of a simple configuration
> file, which might not contain all the information needed.
>
> <config>
> <database>
> <host>
> </host>
> <usrname>
> </usrname>
> <password>
> </password>
> </database>
> <operations>
> <opname name="op1">
> <input>
> <!-- This element describes the input
> message format>
> </input>
> <output>
> <!-- This element describes the output
> message format>
> </output>
> </opname>
> <opname name="op2">
> <input>
> </input>
> <output>
> </output>
> </opname>
> </operations>
> </config>
>
>
This is almost like writing a WSDL manually :(.
What are we going to support with this module? Querying the database
with SOAP requests or invoke stored procedures/ functions through SOAP
messages?
Samisa...
More information about the Wsf-c-dev
mailing list