Questions tagged [dataservice]
117 questions
0
votes
0 answers
WSO2 Data service - Erroring for Sybase stored procedure
I am creating a WSO2 data service using a stored procedure in Sybase. I am getting errors whenever I assign values to local variables.
the stored procedure is as follows
...
Declare @user_id INT
select @user_id =333
....
The select statement above…

Amit
- 21
- 4
0
votes
1 answer
DNN 9 how to set up SSO data services for a custom authentication provider
I am setting up a DDn9 Website. I am installing a custom authentication provider.
I was following this tutorial:
http://www.dnnsoftware.com/community-blog/cid/134678/dotnetnuke-tips-and-tricks-12-creating-your-own-authentication-provider
However, I…

It's Just a Printer Driver
- 806
- 4
- 12
- 30
0
votes
1 answer
ionic2 observable dataservice
I'm new to Ionic 2 and it's observables. I have the following problem. I have a dataservice which has a function findAll. This function checks if the private var products != false if so it needs to return that value. if not, it needs to check the…

Jeroen
- 63
- 6
0
votes
1 answer
JsonReaderException - works on local, not on remote
JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
I am trying to find a cause of this error. Any idea to where I could check would be welcome.
I am having an app where I can run with no…

sensei
- 7,044
- 10
- 57
- 125
0
votes
0 answers
Swift - FireBase - Snapshot - DataService
I have some problems retrieving snapshots from my FireBase child ("Users" into my UITextFields and UITextViews
After I retrieve them, I want them to be editable through code in DataService
Can anyone help ??????
enter code here
import UIKit
import…

Carsten Høvsgaard
- 27
- 1
- 11
0
votes
1 answer
How can I sanitize css properties to use in template given from a data service
I need to generate sanitized css property to use with my component template to set the background image of the div:
using…

Michele DC
- 109
- 1
- 11
0
votes
1 answer
Is there a way to access Joomla 1.5 user variables (like user id) from a Flex 4 application using a PHP Data Service?
I have written a script (in two files) that correctly displays a Joomla user id, like this:
//this is testy.php
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__));
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE…
0
votes
1 answer
Handling OData Error in client
I'm consuming a At WebApi 2.2 OData v4 service in a c# client.
In the server side I'm wrapping exceptions into Microsoft.Odata.Core.ODataError object.
In the Microsoft OData V4 DataServiceClient client and I'm catching the exception in following…

Rahul
- 2,431
- 3
- 35
- 77
0
votes
1 answer
Consuming WCF Data Service EF , Failed to SaveChange()
I am consuming WCF Data Service as Following:
DataMan.ContextWrapper context = new DataMan.ContextWrapper(new Uri("http://localhost:2060/PCM/DataMan.svc/rest/"));
DataMan.Report newReport = DataMan.Report.CreateReport("123123123123",…

Aria
- 3,724
- 1
- 20
- 51
0
votes
1 answer
OData WebAPI vs Simple WebAPI
What is the difference between them? For example if I create a Web API controller in Visual Studio how is it different from Web API OData controller? So basically, what is the difference between web services and data services?
Thanks.

pharkasbence
- 957
- 3
- 9
- 25
0
votes
2 answers
MVVM - ViewModel and DataService, where task should be located?
I'm currently developing in WPF / MVVM following the dataservice pattern where ViewModel call a Service that contains all the business objects and method.
Now, when I call the service method, this requires a bit of time so I should create a new Task…

Fabrizio Stellato
- 1,727
- 21
- 52
0
votes
0 answers
Sharing data between list view and detail view with angular
I would like create a simple e-commerce in angular, but i have a big problem.
How to create a list view and when i click on a item go to detail view with $params and data Service ?
Service
app.service("productService", function (filterFilter, $http,…

Sineus
- 1
0
votes
1 answer
How to add a programmatically created entity to a Data Service?
Currently, I am able to create entities in my Data Service that are mapped to existing tables and views in a given SQL Database. The issue is that I do not want those very complex views to reside in the database. Is there any way to embed them into…

Hector
- 1
- 4
0
votes
3 answers
MVVM Light create multiple instance of DataService
right now I am using MVVM Light to achieve the MVVM Pattern. So in my view I create multiple tabs and bind them to multiple instances of one ViewModel. I achieve this with:
ServiceLocator.Current.GetInstance(key);
When I do this, every…

Sebastian Richter
- 477
- 8
- 18
0
votes
1 answer
WCF DataService indent xml response
How can i indent the xml response from my data service?
All my request to the wcf data service are in xml wihout indent.
I am using OData3 WCF Data Service 5.0.
Before in Odata WCF Dataservice 4, all my response data was in indent xml.

ios_dotnet_superuser
- 254
- 2
- 11