Search code examples
postgresqljdbcwsdl

Creating JDBC functions from corresponding WSDL


I am working on building a web service from scratch with JDBC for postgreSQL. thing is that the operations given in the wsdl file do not show the corresponding database relation (Schema was provided by the client). i.e. for a message like

message name="loginRequest">
part name="in0" type="xsd:string"/>
part name="in1" type="xsd:string"/>
/message>

I cannot find out the corresponding column or what the parameters map on to.
Any solution?

P.S.I had to remove "<"


Solution

  • JDBC is an interface for databases. It can be used for both WebService server and client, but it cannot be used to parse WebService queries etc. You will have to use other library/technology like axis2.

    In axis2 there is wsdl2java utility which can create server or client code "skeleton". In those sources you can use JDBC libraries to make database queries.