Questions tagged [wcf-rest]

A REST service built with WCF

REST Service built for WCF that contains HTTP specifications for GET, PUT, POST and DELETE as well as other standard REST elements.

MSDN documentation

619 questions
0
votes
0 answers

Handling connection from 3000 mobile clients

I have an iPad client application that are installed in around- 3000 - 4000 iPads. They are available in remote areas and are talking to a web service for submitting the data they collect. The data submission call from the iPads may happen together.…
0
votes
1 answer

Security Issue in WCF jQuery AJAX Call via GET method

I'm consuming WCF Services through jQuery AJAX call using GET method. Since I'm unable to get the WCF Call through jQuery AJAX using POST method work, I'm using GET method. With GET method, the URLs of WCF methods are exposed through JavaScript.…
Firnas
  • 1,665
  • 4
  • 21
  • 31
0
votes
1 answer

How to return '£' in RESTfull web services as stream

I'm developing a RESTfull web services using WCF. In this service I'm returning a XML in Stream format which contains '£'. I get this in symbol in XML but on client side I get the '?' instead of '£'. public Stream HandleMessageStream() { …
Bhushan
  • 316
  • 1
  • 7
  • 15
0
votes
1 answer

wcf rest service not working in wp8

While trying to consume rest service in windows phone 8 app , I am getting the "The remote server returned an error: NotFound."exception. All that am trying to do is creating a simple WCF rest service and trying to consume it in a WP8 application. I…
0
votes
1 answer

How do I set the proxy in webhttpbinding configuration to use fiddler

I'm trying to setup my Web service client to use fiddler proxy by setting it in the webhttpbinding configuration file as follows:
ptn77
  • 567
  • 3
  • 8
  • 23
0
votes
1 answer

Sending Parameters to .net Restful WebService from Android

I am trying to send an invoke a webservice method that took a jagged array as a parameters. I build the array, but it always passed null to the web service. Here is my java class: package com.mitch.wcfwebserviceexample; import…
Josiane Ferice
  • 921
  • 5
  • 15
  • 31
0
votes
2 answers

upload image using PhoneGap to .NET WCF Rest Service

I am facing problem upload file from camera and gallery. When selecting few images from gallery I am able to successfully upload the image to WCF service. Thus WCF service is working fine and so is the code to upload file and also same code works…
Satpal
  • 132,252
  • 13
  • 159
  • 168
0
votes
1 answer

WCF Restful Services using POST Method returns BAD REQUEST(400) to the response object

I am writing a sample WCF Restful Service. Here am Trying to pass an object to POST Method in the service. Here goes the code CLIENT SIDE CODE: HttpWebRequest req = null; HttpWebResponse res = null; string serviceurl =…
0
votes
1 answer

Web Service require SSL only for some urls?

Is it possible to have a web service require ssl on some urls but not on others? The service as a whole provides 1 function but talks to 2 different clients. I can split it into 2 different services if necessary but was wondering if it's possible.
Shawn
  • 2,356
  • 6
  • 48
  • 82
0
votes
1 answer

How To Return PDF/Binary Data From a Database In a WCF

I have a WCF-REST service that returns data in JSON format, that reads from a database in SQLSERVER... To return simple data, I don't have any problem. Now, I want to return,a PDF file, that is at the database in varbinary(max) field. What is the…
user1600801
  • 269
  • 7
  • 25
0
votes
1 answer

The operation has timed out in WCF REST Service

I have created a web service using WCF REST Service Template 40(CS). When I try to consume it using var request = WebRequest.Create(string.Concat(serviceUrl, resourceUrl)) as HttpWebRequest; if (method == "POST" && requestBody != null) …
DotnetSparrow
  • 27,428
  • 62
  • 183
  • 316
0
votes
1 answer

Why is the WCF rest service (not created with WCF Rest service template) not working?

I created a WCF Rest service but not with the WCF Rest Service template. I just used a simple class library project and then made all the settings which were listed to create a WCF Rest service. It compiled fine and I deployed it on IIS 7. When I…
Sidharth Panwar
  • 4,606
  • 6
  • 27
  • 36
0
votes
1 answer

WCF REST Exception handling at service level NOT Globally

I am working on a WCF service exposes its functionality in a RESTful format. Each services adhere to SOA format and I need flexibility in the way the services are deployed. So when it comes to the exception handling, I want them to be handled at a…
Hunter
  • 2,370
  • 2
  • 20
  • 24
0
votes
0 answers

WCF Rest Service - Return either an object or a list/array of objects from same method?

I have a WCF REST service which is being called by another application/service (which I don't have control over). This other service expects to call a single service method from my service and potentially get back either a single JSON object or an…
Matt
  • 1
  • 1
0
votes
2 answers

WCF REST partial class/interface - endpoint not found issue

The following code leads to "service endpoint not found" error. it uses partial class and partial interface. When i don't use partial class/interface, it works fine ...any errors? [ServiceContract] public partial interface IMySvc { …
Laguna
  • 3,706
  • 5
  • 27
  • 42