Questions tagged [wso2-data-services-server]

WSO2 DSS is an Open Source component in the WSO2 product family and available under the Apache Software License v2.0.

The WSO2 Data Services Server is an extremely simple and elegant mechanism to take data and make it available as a set of WS-* style Web services or as a set of REST style Web resources. It augments SOA development efforts by providing an easy to use platform for creating and hosting data services. This enables easy integration of data into business processes, mashups, gadgets, BI applications and any service in general.

Extract from the official wiki at: http://wso2.org/project/data-services/2.6.3/docs/

602 questions
2
votes
1 answer

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

I have a query to select all students - selectAllStudentsQuery, then I created an operation - selectAllStudentsOp and a REST resource - students (to GET ALL students). Then when I tried with these http…
user35000
  • 31
  • 1
  • 3
2
votes
2 answers

WSO2 DSS error: javax.xml.stream.XMLStreamException: Invalid Staring element

I'm new to WSO2 DSS and REST Architecture and I'm testing a service that was created with DSS with a data source of Microsoft SQL Server. I created a query below which will get employee information SELECT e.employee_id[Employee_Id], …
Drew
  • 710
  • 1
  • 15
  • 34
2
votes
1 answer

curl errors: could not resolve host, java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Sorry for posting this as this might be a simple problems to experts but to me as a beginner it is an important issue to resolve. I have created a WSO2 DSS service where it has a MYSQL table datasource named…
Drew
  • 710
  • 1
  • 15
  • 34
2
votes
2 answers

WSO2 ESB enrich mediator inside an iterator mediator

I make a call to a DSS service and receive XML back I then use the iterator mediator to iterate over the tag in the XML. Inside the iterator I use an enrich mediator to add some XML nodes to the XML but each time it loops or leaves the iterator the…
2
votes
1 answer

WSO2DSS service converting null value to ' '(one single space)

I am trying to call a db function via DSS service. That db function is basically written for updating user values in database which it got from dss as input. In my db function,if it gets null value as input it wont update the user detail in my…
mihir S
  • 617
  • 3
  • 8
  • 23
2
votes
1 answer

WSO2 DSS: Unable to connect to Google spreradsheet

I am trying to connect to a newly created Google spreadsheet, using the WSO2 Data Services Server (DSS), but it keeps giving me an error when I test the connection. I am using WSO2 DSS 3.2.1 with JDK 1.7.0_60 on Windows. The sample Google…
swami
  • 673
  • 1
  • 9
  • 18
2
votes
1 answer

Parsing error in wso2esb and wso2dss

I'm using wso2esb 4.7.0 and wso2dss 3.1.0.my .dbs file working in wso2dss but when i access it into wso2esb it shows error of pasing in esb terminal like : LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: ,…
user3129056
  • 447
  • 3
  • 6
  • 19
2
votes
2 answers

Wso2Dss Box_Carring not working in WSO2esb4.8.0

I am working with wso2dss3.0.1 and wso2esb4.8.0.I wish to work with Transactions for that i enabled box_carying in wso2dss and its working fine.Means i wish insert the data into 2 tables if 2nd table failed my first table also need to rollback.This…
Faisal
  • 1,469
  • 2
  • 13
  • 25
2
votes
1 answer

How to use complex object elements in WSO2 DSS?

I'm new to WSO2 Data Services Server and I trying to figure out how to get complex element types working correctly with the web scraper. Using the interface I seem to be able to define the object, but I'm not sure how to use it once it is defined.…
Rick Sarvas
  • 769
  • 10
  • 20
2
votes
2 answers

where i can learn WSO2 ESB expressions

I am doing some POC using WSO2 ESB and other stack. I have seen different expression for property files in some examples scenario. i.e. expression="get-property('registry','conf:/test.xml')" expression="$ctx:customerID" can anyone tell me where i…
vashishth
  • 2,751
  • 4
  • 38
  • 68
2
votes
3 answers

Using input parameter as an optional input

Using wso2, DSS version 3.01, I am trying to have an input parameter that could be an optional parameter. A user can say, give me all the info for this specific code, or if a user does not specify any code, I want to give all the rows of data. Can…
2
votes
1 answer

WSO2 ESB and DSS

I'm implementing API Manager talking to ESB talking to DSS. I'm interested in best practices/design for these 3 products. Lets take for Example an employee. Lets say an employee has 3 tables in the database Person, Location, Image. I was thinking of…
Dennis
  • 93
  • 9
2
votes
1 answer

Can we set an array in WSO2ESB?

I wish to set an array in WSO2ESB in my scenario. I am sending two parameters to database and getting number of rows but I need only one row. My configuration is
faisal shaik
  • 160
  • 4
  • 22
2
votes
1 answer

Is it possible with WSO2ESB to send E-Mail Using Header

i wish to send a e-mail to my client using Header mediator . Is it possible with that or not My proxy like this
faisal shaik
  • 160
  • 4
  • 22
2
votes
1 answer

WSO2 DSS: How can I set database user and password dynamically in the request without mappings

I need to create a Data Service for an Oracle database. I've tried to create it setting the DB user and password in the definition of the service, and it works great, but I need to make the connections to the DB with different users, according to…