logo
down
shadow

Rest resource error in WSO2 dataservice with procedure with out param


Rest resource error in WSO2 dataservice with procedure with out param

By : Chris Botor
Date : November 22 2020, 04:01 AM
wish helps you The answer is that if the resource and the operation have the same name things go wrong. Also even with the above correct the wizard shows the out param as a query param, so the thing to do is to edit the xml and remove the out param from the resource parameters.
code :


Share : facebook icon twitter icon
WSO2 dataservice archive export (.car) throws following "error occurred while exporting the archive: index: 0, size

WSO2 dataservice archive export (.car) throws following "error occurred while exporting the archive: index: 0, size


By : sagar jangam
Date : March 29 2020, 07:55 AM
like below fixes the issue This is happening due to a bug in the Data Service Exporter of Developer Studio 2.0.0 and it affects only Windows users.
This bug is fixed in the upcoming Developer Studio 2.0.1 release and you can download the final RC pack from here.
wso2 dataservice serviceGroup not set from .dbs file

wso2 dataservice serviceGroup not set from .dbs file


By : Helium
Date : March 29 2020, 07:55 AM
Hope this helps I created a number of DataServices that I want to have bundle under a serviceGroup. I manually added the attribute serviceGroup="MyServiceGroup". , If you refer this code.
code :
    /* In the context of dataservices one service group will only contain one dataservice.
            *  Hence assigning the service group as the service group name */ 

 String serviceGroupName = serviceHierarchy +
                    this.getServiceNameFromDSContents(deploymentFileData.getFile());
WSO2 ESB Rest api query param - how to use more param?

WSO2 ESB Rest api query param - how to use more param?


By : VAIBHAV DIWAKAR
Date : March 29 2020, 07:55 AM
To fix this issue I solved it... calling REST API with command line curl with more parameter (then using & in query string) need to be enclosed between quotes, so now my call curl -v "http://localhost:8280/storeqparam/testwso2/IBM?arg1=13&arg2=12" works fine! :-)
WSO2 DSS : Setup data service using Oracle stored procedure/function that has an array of string/varchar2 as input param

WSO2 DSS : Setup data service using Oracle stored procedure/function that has an array of string/varchar2 as input param


By : Антон Андрейчук
Date : March 29 2020, 07:55 AM
around this issue I'm a database developer and we're using WSO2 Data Service Server to build web services based on Oracle stored procedure calls. One of the stored procedures takes an array as an input parameter. Unfortunately DSS is unable to map array this input parameter. Tried going through the WSO2 documentation but it didn't. I tried playing with the parameter definition to make is Scalar or Array as shown below. , Edit the sql query as
What is different between operation and REST resource method in WSO2 DSS

What is different between operation and REST resource method in WSO2 DSS


By : Tarik Fred
Date : March 29 2020, 07:55 AM
Hope that helps The data service can be exposed as SOAP or REST. If you want to expose it as SOAP services you have to use operations and when you add resource then the query will be exposed as REST style resource. Yes you can skip to add operations and expose all data services as REST resources. It depends on the usecase and the requirement.
shadow
Privacy Policy - Terms - Contact Us © bighow.org