使用WSO2-DSS从Mysql表获取数据

使用WSO2-DSS从Mysql表获取数据,wso2,wso2dss,Wso2,Wso2dss,Wso2 DSS从表中获取数据 Please Help I have a table named "Address". I want to fetch the all details(all coulmns) from this table using service created through wso2 dss. I have to get the responce in json format. I Have tried it ,but not getting the result

Wso2 DSS从表中获取数据

Please Help

I have a table named "Address". I want to fetch the all details(all coulmns) from this table using service created through wso2 dss.

I have to get the responce in json format.

I Have tried it ,but not getting the result

请提供帮助

您可以查看wso2dss文档,了解如何发送消息和如何发送消息。如果您面临任何问题,请发布错误堆栈


WSO2 DSS发行版附带默认的RDBMS示例。你也可以试试。

正如ratha所说,你可以试试这个示例,了解它是如何创建的。或者发布表模式,任何人都可以发布该服务的xml


对于JSON响应,您不需要太担心,只需要在调用dss服务时传递一个Accept:application/JSON头。首先尝试从dss服务获取输出。

感谢您的帮助。.Ratha和mihir