wcf-rest Questions
6
Solved
I am sending a post request to a RESTFUL WCF service application. I am able to successfully send a POST request through Fiddler.
However when I do this through the jQuery Ajax method the function...
Homopterous asked 27/6, 2013 at 1:16
11
When I have this code
$.ajax({
type: 'POST',
//contentType: "application/json",
url: 'http://localhost:16329/Hello',
data: { name: 'norm' },
dataType: 'json'
});
in Fiddler I can see follow...
Behl asked 17/3, 2012 at 23:39
4
6
I have a REST and WCF service and want to send a custom status code based on the operation.
For example when some validation fails then I want to send HTTP 444 and when authorization fails I want t...
2
Solved
I am pretty new to RESTful WCF services so bear with me. I am trying to build a simple RESTful WCF service that returns a List of Students as json response. All works well until the point where I t...
2
Solved
I have hosted WCF 4.5 Restful service in IIS and I am trying to use
RemoteEndpointMessageProperty to get the IP address of the client who
consumes the service.
Code 1:
private string GetClientIP(...
Latchet asked 16/10, 2015 at 9:16
7
Solved
I have a RestAPI which when hit authenticate the user.
This api is exposed to android and ios developers they hit this api to allow user to login to our app
My requirement is this.1) If user has c...
3
Solved
I am developing REST Full API using WCF Service 4.5 F/W. Please suggest how to send exception or any business validation messages to client. I am looking for a very generic solution please suggest ...
Bechler asked 27/9, 2014 at 2:38
3
My main question is how can I pass JSON as well as File to post request to REST API? What needs in Spring framework to work as client and wait for response by passing post with JSON and File?
Opti...
4
Solved
I am using a RestClient app to communicate with my WCF service .and I am getting the following exception
The underlying connection was closed: An unexpected error occurred on a receive.
This is ...
3
Solved
Um quite new to WCF . I think I have messed up a bit. So this is what I did so far and I ve hosted my WCF service in IIS
First the Contracts
using System;
using System.Collections.Generic;
using ...
3
I've run into a problem with WCF REST Service. I get:
Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicK...
1
Solved
I am query for a long time now.Where exactly we need to use WEB API and where should we use WCF restful services. What ever we want to achieve in WEB API we are able to achieve in WCF Rest. I tried...
Parnassus asked 6/4, 2016 at 4:58
4
My contract details are below. I am using Json response and request format and also using POST method. How to write a client to consume this service in c#.
[OperationContract()]
[WebInvoke(UriTemp...
1
I'm getting intermittent errors from devices connecting to my IIS REST service via SSL.
My app works just fine, but sometimes I get this exception. It is handled properly and does not bring down a...
3
Solved
Hi I have a WCF Rest service using ( WCF REST Service Template 40(CS)). I have managed to get it to return Json response. It is working fine when the project is run. But when I try to make a Ajaxca...
Culler asked 17/9, 2014 at 11:41
2
I have created a WCF API (Rest Services) and I would like to implement the protocol for authentication oAuth 2.
I know that this library DotNetOpenAuth is very useful for implement oAuth2 for WebA...
1
Solved
I have two queries here :-
1) What is the basic difference between Microsoft.ServiceModel.Web.RequestInterceptor and System.ServiceModel.Dispatcher.DispatchRuntime.MessageInspectors (IdispatchMes...
Prepared asked 18/6, 2014 at 7:18
1
Solved
I'm using this plug-in : http://hayageek.com/docs/jquery-upload-file.php
I'm use it to send files to a WCF Rest Service and save its on hdd.
Uploads works fine, but the problem is that images, ex...
Sheepfold asked 16/5, 2014 at 4:21
4
Solved
We are having a REST WCF service.
we want the save operation on this REST service to be in transaction.
Is there a way to pass Transaction object over the wire to REST WCF service?
Christiniachristis asked 7/9, 2009 at 15:26
1
I am looking for any article or forum thread, where I could find information how to make oauth 2.0 authentication. Especially I have MVC 3 application and WCF Restfull API. And I have to call API m...
Tarango asked 12/6, 2012 at 17:37
1
I am trying to write an XML response for my web service however I can't figure out how to make the declaration appear in the response.
My code is like so :
StringBuilder sBuilder = new StringBu...
Mohenjodaro asked 27/12, 2011 at 19:44
1
Solved
I develop web and mobile applications for my customers. In my current architecture, many resources are shared between the web access and mobile access. An aspx page can be shown on web and be calle...
1
I am writing a POC application which uses Microsoft.ServiceBus.dll 1.0.0.0 (the .NET 3.5 version).
My WCF contract and service look like the following:
[ServiceContract(Name="MyServiceContract",...
Teletypesetter asked 13/2, 2013 at 4:25
3
Solved
does anyone know if HttpClient & HttpResponseMessage classes are available in VS 2010? I can't seem to get them to work, do i need to add a reference or using namespace?
These classes were ori...
Chessy asked 8/8, 2010 at 11:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.