Tagged Questions
0
votes
1answer
27 views
How to pass user credentials to web service?
I am consuming a webservice using WSDL in windows application. When I try to use method, i get the following error:-
The HTTP request is unauthorized with client authentication scheme
...
0
votes
1answer
35 views
How to get PDF back from a byte array
What I’m trying to do is…
Let the user select a PDF file and some other files using a WCF…once they select the file…those files need to be moved from there to a remote server (company hosted). I’m ...
-1
votes
0answers
27 views
The best way to get data from webservices [closed]
Hi I am using MVC and have one api that call web services. I know how to add references. I just need to know the best way to write the class of that.
First I whana get these variables from server. ...
1
vote
0answers
28 views
WCF Rest Web Service - WebInvoke URL Endpoint not found
I have a REST web service which has a method like this:
[OperationContract]
[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = ...
0
votes
0answers
21 views
Entity Framework - Migrating existing Data Access Layer
I've been assigned an interesting project in which I've spent a few days research and still haven't come to any conclusion as to how to do what I've been asked. What I've been assigned to do is to ...
1
vote
1answer
26 views
WebServiceHost Large Input\Output string
Server Code:
WebServiceHost w = new WebServiceHost(typeof(WebHost), new Uri("http://localhost/Host");
BasicHttpBinding binding = new BasicHttpBinding();
binding.MaxBufferPoolSize = 2147483647;
...
2
votes
2answers
28 views
Passing a list of int to a HttpGet request
I have a function similar in structure to this:
[HttpGet]
public HttpResponseMessage GetValuesForList(List<int> listOfIds)
{
/* create model */
foreach(var id in listOfIds)
...
1
vote
1answer
17 views
ServiceStack Soap Retrieve Soap Headers
I need to extract a soap Header attribute from a incoming message to my service. I am using service stack and have been looking around and can't find a good answer anywhere. Can anyone tell me how to ...
0
votes
0answers
25 views
Debugging ASMX is easy, debugging WCF isn't
I've always used ASMX Web Services for when I need to do AJAX, but I'm just starting to use WCF Web Services because, well, it's newer and better isn't it? Not exactly sure why I want to use WCF, ...
-1
votes
1answer
21 views
How to block HTTP analyzer to decode ma HTTPS data?
Hi i am using u web service developed in wcf. And it has made secured using digital certificate.
The data decrypted at client side itself.
I found that it does "man-in-the-middle" approach to do ...
0
votes
0answers
12 views
Running ASMX web service on STA
I have made one web service (.asmx) in C#. But I want to run that service on STA (Single Thread) as I am calling COM component from that web service.In web application there is mode AspCompat="true" ...
0
votes
0answers
9 views
Implementing WS-ReliableMessaging in Web services (asmx) - C#
I have been reading about WS-ReliableMessaging and would like to implement this into my web service (.asmx). Could anyone tell me how to do this?
I know to implement WS-ReliableMessaging in WCF, I ...
0
votes
1answer
20 views
Host .NET Web Service that uses Oracle 10g DB
I am making a Web Service in .NET that will be consumed by android apps. The Database of my existing project is in Oracle 10g and is impossible to transfer to MSSql. The problem is that to connect to ...
1
vote
1answer
21 views
How to set the EmitDefaultValue to false globally for all Data Members in Web API?
I'm using Web API and I've set the below property so that the default value is not displayed when members are serialized:
[DataMember(EmitDefaultValue = false)]
public string EventName { ...
0
votes
2answers
30 views
Connecting to remote Oracle 10g DB without Oracle Client
I am a J2EE Developer and have little knowledge of .NET. I am making a web service that connects to a remote Oracle DB. Now the problem is that I don't want to install oracle client on my system. Is ...