I've been toying with the SQL Module project at bit more. As a workaround I find that I may manually add an element for the parameter in my select statement to the element in the WSDL representing the request and elements for each of the selected columns to the element in the WSDl called record that represents the response. Hence the SQL Service Engine seems to be working and it's only the WSDL generation in Netbeans that is broken.
Brynjar Glesnes wrote:
Hi!
I'm unable to generate a WSDL for a SQL Service Engine project using the latest Open-esb build. How do I resolve this?
I'm using the openesb-installer-windows-20080505.exe build of open-esb / netbeans and I'm trying to create a service unit based on the SQL Service Engine. I've created a SQL Module project in Netbeans. In this project I've created a SQL file with a select statement (select * from DOCUMENT_TYPE where ID = ?;). In Netbeans I've also connected to the database specified in the connectivityInfo.xml file.
When I try to generate a WSDL for the service I get a warning however, pointing me to the Netbeans log. The generated WSDL have an empty record for the response message, in effect making it useless.