Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-15 Thread Sidath Weerasinghe
Hi Devs, I changed request as to PUT operation and remove the query pram form the URL. Then this worked fine. Thank you so much for supports. On Fri, Jun 15, 2018 at 5:35 PM Madhawa Gunasekara wrote: > Hi Sidath, > > There is a limitation when we define resource paths with path params, when

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-15 Thread Madhawa Gunasekara
Hi Sidath, There is a limitation when we define resource paths with path params, when there is a payload available. Can you try to omit path param and use payload to pass the parameter? Thanks, Madhawa On Fri, Jun 15, 2018 at 5:20 PM, Janak Amarasena wrote: > Hi Sidath, > > Is there a

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-15 Thread Janak Amarasena
Hi Sidath, Is there a separate POST endpoint defined like ** (/applications)? If so, it seems that it is the endpoint being called as your JSON payload has the following *_postapplications*. The following link[1] has the proper way of constructing the JSON payload. [1] -

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-15 Thread Sidath Weerasinghe
Hi devs, I changed the code as follows, {call update_application_from_applicationId(?, ?, ?, ?, ?)} Request - curl -X POST \

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-14 Thread Madhawa Gunasekara
Hi Sidath, Why are you using XML Mapping instead of JsonMapping [1]. This issue won't be occured if you use JSON mapping. [1] https://docs.wso2.com/display/DSS350/JSON+Mapping Thanks, Madhawa On Thu, Jun 14, 2018 at 11:05 AM, Sidath Weerasinghe wrote: > Hi devs, > > Is this error related to

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-13 Thread Sidath Weerasinghe
Hi devs, Is this error related to this ? http://wso2-oxygen-tank.10903.n7.nabble.com/Issue-with-EI-6-1-1-update-22-and-24-td156180.html On Thu, Jun 14, 2018 at 10:21 AM Sidath Weerasinghe wrote: >

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-13 Thread Sidath Weerasinghe
Hi Chanika, Im using EI 6.1.1 version and please find the dataservice config. {call update_application_from_applicationId(?, ?, ?, ?, ?)}

Re: [Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-13 Thread Chanika Geeganage
Hi Sidath, What is the DSS version? Is it EI? Also can you please attach the dataservice config and a sample request to identify the issue? Thanks On Thu, Jun 14, 2018 at 9:12 AM, Sidath Weerasinghe wrote: > Hi Devs, > > I wrote a DSS service in the WSO2 EI 6.1.1 and I got the following

[Dev] [WSO2 EI 6.1.1] DSS Error

2018-06-13 Thread Sidath Weerasinghe
Hi Devs, I wrote a DSS service in the WSO2 EI 6.1.1 and I got the following error. [2018-06-14 09:08:33,557] [EI-Core] ERROR - GsonXMLStreamReader Value type miss match, Expected value type - 'null', but found - 'STRING' [2018-06-14 09:08:33,563] [EI-Core] ERROR - ServerWorker Error processing