Hi DSS team, When exposing data service as a set of REST style resources (in addition to the SOAP services) how do we define the resource path with query params?
Example given below *Required style*: http://{ip address:port}/services/samples/ResourcesSample. HTTPEndpoint/product*?productCode=S10_4757&productStatus=new* Documentation explains how to do the configuration to set path params, but what is the procedure when defining a query param as shown in the above example. As per docs, to configure a resource path like; "http://{ip address:port}/services/samples/ResourcesSample. HTTPEndpoint/product/S10_4757" following data service configuration can be used. *Data service configuration* <resource method="GET" path="product/{productCode}"> <call-query href="getProductByCodeQuery"> <with-param name="productCode" query-param="productCode"/> </call-query> </resource> Can we change the attribute "path", to accept query-params in resource path? Thank you Best Regards, Madhawa -- Madhawa Perera *Software Engineer* Mobile : +94 (0) 773655496 <%2B94%20%280%29%20773%20451194> [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
