Hi DSS team,

I've created a dataservice and certain operations as REST-style resources
as per the doc [1]. However, when I attempt to call that REST endpoint
using a JSON payload, I'm getting the following error, which leads me to
conclude that DSS is not accepting it:

Caused by: javax.xml.stream.XMLStreamException: DS Fault Message: Error in
'CallQuery.extractParams', cannot find parameter with type:query-param
name:WorksReference
DS Code: INCOMPATIBLE_PARAMETERS_ERROR

However, I see that urlencoded and XML content types seems to work properly.

Do you have any idea what I might be doing wrong?

[1] https://docs.wso2.com/display/DSS350/Exposing+Data+as+REST+Resources

Thanks,


-- 
Gokul Balakrishnan
Senior Software Engineer,
WSO2, Inc. http://wso2.com
M +94 77 5935 789 | +44 7563 570502
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to