Quantcast
Channel: WCF, ASMX and other Web Services
Browsing all 555 articles
Browse latest View live

SQL, Select in Looping returning repeated value

I have been working on a project for a very long time and I can't seem to find out how to do it. I have a looping code and a function combined but can't seem to get the output I wanted to see.My code...

View Article


Calling a WCF service self hosted as windows service from a Windows service

Hi,My requirement is to call a WCF service hosted in individual machines as a Windows Service from a Windows Service which is also be placed in all the machines. The WCF service is having NetNamedPipe...

View Article


How to tcp/ip header

Dear all, the below code is how am returning a tcp message to a client machine, but the company demanded i should be adding a tcp/ip header to the message. They said the header should be a 2-byte...

View Article

Validate input parameters to WCF web service

I have WCF web service that takes 2 dates as input parameters. I need to validate that the difference between two dates is not larger than 2, and return error code for the user for this....

View Article

How to get web application url in webservice

I have application with two components, mobile application (e.g. iPad, android tab) as front-end and web application as back-end.Whatever data transfer happens at mobile application is through...

View Article


problem with web service asmx

Hi,i have a web service asmx works correctly in visual studio  but when i deply it in IIS7  return always null value  [WebMethod][ScriptMethod(UseHttpGet = true, ResponseFormat =...

View Article

List Methods in WCF Service

I am trying to troubleshoot a WCF Service.Using http://data.regionhigh.net/MyService.svc/help  it shows methods A ,B While in  http://data.regionlow.net/MyService.svc/help it shows the methods A ,B,C...

View Article

Why don't WCF support "testing" page like web service (.asmx)?

When you create a web service with ASP.NET it automatically creates a test page. I wonder if WCF supports a test page as web service (.asmx) or not. If the answer is no and why WCF do not create a test...

View Article


HTTP Error 500.21 - Internal Server Error .NET WCF service

<div class="votecell post-layout--left"></div> <div class="postcell post-layout--right"> <div class="post-text" itemprop="text">I uploaded a wcf service to a web hosting and it...

View Article


Share two endpoint

Hi All,How to share/expose two methods to two different users in wcf.Service Interface:interface IArithmeticOperation { [OperationContract] decimal AddTwoNemeric(decimal first, decimal second);...

View Article

SvcUtil error generating proxy from asmx assembly

Hi  I am trying to use SvcUtil  with asmx webservice to generate proxy class I get error: cannot generate XmlSerilaizer types for assembly .....No service contract types were found.I tried to add...

View Article

proxy creation required for Rest based WCF service

we know that when client consume wcf service then they have to add reference first to create proxy but for web api no proxy is required. so tell me if we create Rest based WCF service then also client...

View Article

I have one link of wcf data services 4.5 is it latest wcf and if not i need...

hi,   Please suggest me some links for latest wcf  data serveices or wcfi have one link  and it says ( 4.5 )https://docs.microsoft.com/en-us/dotnet/framework/data/wcf/yours sincerely

View Article


Access web service on localhost from Android device

I'm attempting to make ajax calls from a android device to a web service that's hosted locally (i.e. localhost). However, receiving the following error: Refused to connect to...

View Article

Authentication SPN?

Hello Community I need help, I have a web service (http: //web/service1/home.asmx) that needs to make a call to another web service (http: //web/service2/personas.asmx/listAll) but the latter needs...

View Article


Can i use a proxyAddress when using net.tcp binding ?

Hi I am using net.tcp binding in my wcf service. But can i use a proxy in the config ? I am trying to use wcftestclient but where can i set the proxy Address ? Thanks

View Article

Error making a POST request with Bearer Token to REST API using C#

I am able to POST to an REST API with Basic authentication and getting  successful response back, along with the Token. Now I need to pass the token to the site. I am having some difficulties as to...

View Article


Why ObjectResult is used as return type of webget method in wcf dataservices

<div class="votecell post-layout--left"> <div class="vote">0 down vote favorite<div class="favoritecount"></div> </div> </div> <div class="postcell...

View Article

WCF Service cannot find any service metadata. This may cause the client...

Hi,I am trying to debug an existing set of WCF services hosted under IIS. However on attempting to debug, the services fail to start with message,"WCF Service cannot find any service metadata. This may...

View Article

Using cache in a web service

I have inherited a asmx web service that makes numerous database calls but doesn't cache any of the results.  Thus, each call to the web service hits the database.  I'd like to implement the use of...

View Article
Browsing all 555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>