Click here to Skip to main content
15,886,611 members
Everything / Webservice

Webservice

webservice

Great Reads

by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
by Rene Bustos
WCF WebService IN VB.NET Response JSON
by YasIkeda
ASP.NET Core 3.0 uses a built-in JSON converter from System.Text.Json so that JsonConverter attribute from Newtonsoft.Json does not work by default.
by Patrick P. Frey
This tutorial based on a docker image will guide through the development of a search engine service based on Strus and its Python Bindings within the Tornado web-framework.

Latest Articles

by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
by Steffen Ploetz
YES, you can - use native DLLs in your Azure Functions via P/Invoke ([DllImport]) as you already know it from .NET Framework, and safe the code you have developed and maintained for decades with much effort and patience.
by YasIkeda
ASP.NET Core 3.0 uses a built-in JSON converter from System.Text.Json so that JsonConverter attribute from Newtonsoft.Json does not work by default.
by Nipunu W
Developing an Android application using Retrofit to connect to an API

All Articles

Sort by Score

Webservice 

4 Jun 2020 by Vincent Maverick Durano
This article will talk about how to implement a custom wrapper for your ASP.NET Core and Web API applications for managing exceptions, providing meaningful and consistent responses to consumers.
16 May 2017 by Rene Bustos
WCF WebService IN VB.NET Response JSON
22 Oct 2019 by YasIkeda
ASP.NET Core 3.0 uses a built-in JSON converter from System.Text.Json so that JsonConverter attribute from Newtonsoft.Json does not work by default.
20 Oct 2017 by Patrick P. Frey
This tutorial based on a docker image will guide through the development of a search engine service based on Strus and its Python Bindings within the Tornado web-framework.
8 Jun 2012 by Pranay Rana
Calling Server Side function from Client Side Script
11 Jul 2012 by Mehdi Gholam
Usually such functionality is done with a windows service, create a service for your DLL and call your methods on a Timer.Read the following :http://msdn.microsoft.com/en-us/library/aa984464%28v=vs.71%29.aspx[^]Simple Windows Service Sample[^]
21 Jun 2017 by M.M.Mohseni
In this sample code, we are going to upload a file via a web method asynchronously.
20 Feb 2011 by Espen Harlinn
A good place to start would be by going through the material found here:Windows Communication Foundation[^]This may be of interest: Deploying WCF Applications with ClickOnce[^]Then there is a number of how-tos':How to: Host a WCF Service in IIS[^]How to: Host a WCF Service in...
8 Aug 2013 by adriancs
Silverlight access to MySQL using Web Services.
23 Nov 2016 by robert_chang
Learn how easy it is to write a console application to find the Congressional District of a U.S. address using free geocoding web services.
10 Feb 2020 by Steffen Ploetz
YES, you can - use native DLLs in your Azure Functions via P/Invoke ([DllImport]) as you already know it from .NET Framework, and safe the code you have developed and maintained for decades with much effort and patience.
29 Dec 2010 by William Winner
Did you read the rules of posting? Here are the first two:1. Have you searched or Googled for a solution?2. Be specific! Don't ask "I need to write a booking application". Specify exactly what it is you need help with.And, no, as a "newbie" to c#, an application that requires logging...
21 Mar 2011 by Eduard Keilholz
I don't think anyone is going to create software for you. This forum is to help you developing and make you struggle less. This forum is not about asking us to do your work.To communicate using a webservice, open a new solution in Visual Studio and add a (for example) Windows Forms project...
11 Jul 2012 by Sergey Alexandrovich Kryukov
Please see my comment to the question. The problem is that you don't specify what do you mean by "run a DLL", so your problem cannot be solved until you understand what you really need.For better understanding, you should understand what the executable modules are and what is the role of...
24 Dec 2014 by Alexander Batishchev
Implementing WCF behavior extension to run code on service launch
4 Oct 2013 by Sampath Lokuge
Web Service1.It is based on SOAP and return data in XML form.2.It support only HTTP protocol.3.It is not open source but can be consumed by any client that understands xml.4.It can be hosted only on IIS.WCF1.It is also based on SOAP and return data in XML form.2.It is...
25 Nov 2013 by Asp_Learner
The above problem is solved ,is was occurring due to proxy server ,so I bypassed the proxy server by simple single line code .System.Net.ServicePointManager.Expect100Continue = false;just before the service is called.
14 Jan 2016 by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
16 Feb 2016 by Andy South
We have established a goal to decide, what solution (as in a combination of software and services) among those we chose allows extending the audience of an event with minimum efforts.
2 May 2016 by F-ES Sitecore
The url you are requesting doesn't exist, it maybe did at one point but not any more. They seem to have moved their api to somewhere elseCurrency Converter - Google Finance[^]
23 Jul 2016 by Kelum W. Ganegoda
In the MEC mapper, calling a web service is a general scenario. There are few ways to do it.
23 Feb 2011 by Yusuf
Are you saying that you want to save into client's C:\ drive using a web service? If that is the case NO YOU CAN NOT DO IT.There is no mechanism that allows you to save using webservice. what you can do is call the webservice from the client and the webservice can return your the pdf...
7 Jun 2011 by Sergey Alexandrovich Kryukov
I noticed your code does not specify HttpWebRequest.Method, with must be "POST", according to your HTTP dump which you're trying to reproduce.[EDIT]Answering a follow-up question:The use of "Expect: 100-continue" is explained in the text of HTTP standard...
18 Sep 2011 by m@dhu
These may help youSingle Sign-on in ASP.NET and Other Platforms[^]A Single Sign-in Web Service in ASP.NET[^]
14 Nov 2011 by Manfred Rudolf Bihy
As RaisKazi[^] already wrote in a comment to your question, HTTP is per se stateless. Any state you would want would have to be implemented by your server application. A client could pass along a cooky or something that was passed back to it in a previous response to identify themselves to the...
26 May 2012 by Monjurul Habib
For bing services do some R&D with the following links:How to get address(city,state, country, zipcode) from BING map api by latitude and longitude?Get all country names used in Bing Maps SOAP ServicesAnd for Cascading Dropdownlist try following:Cascading DropDownLists with jQuery...
11 Oct 2016 by Oliver Bleckmann
Simple but efficient way of logging errors over the internet using a PHP webservice/ REST and mail notification. Logging C#/ .NET errors over the web and with PHP and sending notification mail.
10 Jul 2014 by RoboJRR
How to use Powershell to query webservices.
21 Dec 2009 by Richard MacCutchan
Try this site[^] for everything you need to get started with XML, and if you are still interested there are many books available to teach you the more advanced topics.
12 Apr 2010 by Yaron Naveh
WCF Binding Box WCF Binding Box (online)Introduction Those of you who have worked with WCF can testify that: WCF configuration is hard. WCF security configuration is hard.After a while you get used to BasicHttpBinding or WSHttpBinding. But then comes a service which...
21 Jun 2010 by Dalek Dave
Turn off your antivirus and pop-up blocker.
3 Nov 2010 by jim lahey
Hi everyone,I'm looking for a step-by-step guide to consuming and calling WCF or web services from a BizTalk 2010 Orchestration. I've read a lot of articles that contradict each other and none of them work when I try to implement them in Visual Studio 2010. any help is greatly...
10 Jan 2011 by Espen Harlinn
Try something like this:Mapping Certificates to User Accounts[^]Some more usefull info hereIIS Authentication[^]Hopefully this helps ...RegardsEspen Harlinn
6 Feb 2011 by Sergey Alexandrovich Kryukov
I don't see the problem from you samples. As I already said, your sample XML is well-formed (did you think it is not?). Probably, you need to post a sample of XML received from the service which is not well-formed. You mentioned this case in your answer.Another possibility I can see is that...
1 Mar 2011 by #realJSOP
Yes, you already knew the answer. That's not what a web service is for, and it won't do it.
17 Apr 2011 by Sergey Alexandrovich Kryukov
Yes. I have a complete solution for you.You should run you thread forever but keep in in wait state until it is awaken for a job to do.The way to get to such a wait state is using System.Threading.EvenWaitHandle.WaitOne. At the call to this method, your thread is switched off by OS and...
25 Apr 2011 by Sergey Alexandrovich Kryukov
You can start here:http://msdn.microsoft.com/en-us/library/2k53kft2(v=vs.80).aspx[^].You can find this discussion useful:http://weblogs.asp.net/israelio/archive/2006/06/11/How-to-Consume-WebService-via-unmanaged-C_2B002B00_.aspx[^].You can search...
25 Apr 2011 by Albert Holguin
Try gSoap for SOAP based web-service, its very easy to use...http://gsoap2.sourceforge.net/[^]
16 May 2011 by Keith Barrow
With respect to the "main" service class: Although can add static methods to the class but these can't be implementation(s) of web methods. The web service is defined by its Interface and C#/VB won't allow you to implement Interface methods with statics, so you'll get a compile error. For this...
16 May 2011 by Espen Harlinn
Apart from what Keith mentions, there are a few things you can take into consideration.Proper design for a particular purpose depends on leveraging your knowledge about the data model, and the operations that will be performed on the data. There is nothing that prevents multiple threads...
17 May 2011 by fjdiewornncalwe
For starters, we all volunteer our time to help you here. We don't really care either way how urgent your request is.As well, just asking for source code is not how it works here. You need to show us what you have tried and when you have a problem ask a specific programming question...
18 May 2011 by Abhinav S
Honestly, you should never need to start IIS.Have a system that you call the server, install IIS on that machine and host your webservice in this instance of IIS. You will never need to restart IIS or the Web service. There may be times when you need to restart the server for Windows updates...
30 May 2011 by Manfred Rudolf Bihy
This article is a bit outdated, but maybe it'll explain what you are searching: Introduction to .NET Web Services[^].[Edit]Actually this MSDN article does a nice job at explaining what it's all about: http://msdn.microsoft.com/en-us/magazine/cc302073.aspx[^].[/Edit]Cheers!-MRB
30 May 2011 by Sergey Alexandrovich Kryukov
DISCO looks like a derivative from "Discovery", Microsoft technology used to discover Web Services.This is the MSDN introductory article:http://msdn.microsoft.com/en-us/magazine/cc302073.aspx[^], it explains how discovery is performed and used.This is a help page on the...
3 Jun 2011 by Alexey Merson
If you have a SOAP server created with Borland Delphi and a SOAP client created with .NET, then you can't get it working out of the box.
21 Jun 2011 by Shahriar Iqbal Chowdhury/Galib
hi,You can achive this by Jquery ajax. Lets say you have a web method Report1 that takes 2 parameter fromDate and toDate.[WebMethod]public static String Report1(String fromDate,String toDate){ //function body}now you can call the above method by jquery ajax$.ajax({ type:...
26 Jun 2011 by Wonde Tadesse
Try to look this MSDN article.The Project Is Not Configured to Be Debugged[^]
20 Aug 2011 by raymond Hastie
I am receiving the following response / error while calling and SAP Web Service from VB.Net 3.5 (Visual Studio 2008). We are sporadically receiving the error "The request was aborted: The request was canceled." According to research I have done, it is indicated that the web request is...
23 Aug 2011 by _Zorro_
Hi,Are you sure giving the credentials on a website is a good idea?Anyway, take a look at this examples:Consuming Web Services from a Win Forms Application[^]Using a Web Service in VB.NET[^]Web services with ASP.NET[^]Hope it helps.
5 Oct 2011 by raymond Hastie
I am going to post a solution to my problem to assist those who may have issues in the future. This is based on Manuel9999 solution at http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/faf9737d-5cb3-442b-bf9d-26341a204475/[^] but translated to VB.It turns out that the Web...
6 Nov 2011 by Ram Balak Sharma
How to call synchronous and asynchronous way web service method in JavaScript by using JSON
3 Nov 2011 by Prerak Patel
http://msdn.microsoft.com/en-us/library/ms531031(v=vs.85).aspx[^]http://msdn.microsoft.com/en-us/library/3003scdt(v=VS.100).aspx[^]
30 Nov 2011 by Jammer
Hey All,I'm currently writing a new demo application and want to include interaction with an interesting web service, anyone have any good ones that are likely to hang around and be available for a decent amount of time into the future?Cheers,
3 Dec 2011 by Monjurul Habib
Yes you can easily pass session information to Web Service. Please go through the following links:Using ASP.NET Session State in a Web ServiceUsing Session State in a Web ServiceWebMethodAttribute.EnableSession Property Using ASP.NET Session State in a Web ServicePlease feel free to...
3 Dec 2011 by Eduard Lu
The below link will best answer your questions:http://devpinoy.org/blogs/willydavidjr/archive/2008/06/13/using-asp-net-session-state-in-a-web-service.aspx[^]Please mark as answer and vote 5 if this solved your problemRegards,Eduard
7 Dec 2011 by RaisKazi
Using .Net Framework 3.5 or above you can develop REST based Service. You may refer below links for more information on...
19 Dec 2011 by Om Prakash Pant
pl check the following codeproject article for the sameYour first C# Web Service[^]
26 Dec 2011 by RaviRanjanKr
Try Yahoo Geocoding API Service in Asp.Net 3.5 C# using WebClient class (Asynchronously)[^]http://create.msdn.com/en-US/education/quickstarts/Developing_with_the_Windows_Phone_GPS_%28Location_Services%29[^]
27 Jan 2012 by Rajesh Anuhya
try with AttachDbFilename property.see hereLink[^]Thanks--RA
13 Feb 2012 by Christian Graus
Go and ask the lecturers, or send them an email. You can do string mashing to check every possible combination of characters to see which ones are valid, but it seems a bit antisocial to me. You're also assuming the format of their URL, are you sure it will always be like this ?
21 Mar 2012 by coding_life
Ok. Finally I found a solution by myself after talking with my friend. :D. So let's look at how to send a Complex type over WCF REST Web Service. So let's think that there is a Interface class which contain MakeComplain and this method take a complain object as a parameter. and it's return...
14 Apr 2012 by CDP1802
Sorry, I don't have my crystal ball with me. Just one thought: It's irrelevant how often some button is clicked. How about looking at the code that handles the event and searching for situations where more than just one request may be sent. Is there perhaps some code to try to send the request...
12 Jun 2012 by k.Prathap
instead of using web service you can also make Use of third party API'ssee the following linkhttp://ubaid.tk/api-usage/[^]
28 Jun 2012 by Volynsky Alex
Following article describing how to use WWSAPI to build native code clients to WCF services and how to implement web services in native C++ code using WWSAPI:A first look at the Windows Web Services API[^]Maybe it will help you?!Or...
2 Jul 2012 by Dave Kreskowiak
It's because you declaredDim sw = New StreamWriter...You didn't specify the type sw was supposed to be.Change the line to:Dim sw As New StreamWriter...
12 Aug 2012 by Philip Stuyck
IIS can only be installed on the professional editon of windows.Well it's a bit more complicated than that see this link for more info :http://technet.microsoft.com/en-us/library/cc268241[^]Anyway try to see if it is available via the control panel | programs | turn windows features on...
23 Aug 2012 by Prasad_Kulkarni
Have you tried your question on google[^]. It gives 126,000 results, and many of search results will surely help you out.Here is CP article, the first link of above search result: What's the Difference between WCF and Web Services?[^]..and lot more on CP Search[^]Try by your side...
31 Aug 2012 by Anuja Pawar Indore
Refer this threadhttp://www.exforsys.com/tutorials/vb.net-2005/web-services-soap-wsdl-disco-and-uddi.html[^]http://stackoverflow.com/questions/8922715/what-is-difference-in-uddi-disco-and-wsdl[^]
19 Sep 2012 by Kuthuparakkal
You need to do it with __doRequest
26 Oct 2012 by Sergey Alexandrovich Kryukov
I would advise you to go back to working version and do one step at a time. Let's say, you have two steps: going from local hos to real host, and from monolithic to adding an extra assembly and using it. The second step is poor re-factorization (re-factorization is, by definition, something with...
24 Jan 2013 by Joezer BH
Hello Dee_Bee, The message is saying that your configuration file is corrupt in some way. However it also says that it can't actually access the config file. So I'd ignore the original message about corruption/lack of validity as this is most likely just the effect of not being able to read...
28 Jan 2013 by RDBurmon
You can user userPrincipalName inside the service config file. You can also call by code.string uri = "http://loaclhost:8989/MyService";EndpointIdentity epid =...
28 Jan 2013 by yoganandaraol
Configuring SoapHeader to webmethods will solve your problem.In webservices messages will be transformed through wire in SOAP format.SOAP basically contains SOAP Envelope which is collection of SOAP Header (The data which is sensitive and need to be transferred usually credentials,...
4 Feb 2013 by bhagirathimfs
Just uncomment the [System.Web.Script.Services.ScriptService]So that you can use this web method in the js file
12 Mar 2013 by Sergey Alexandrovich Kryukov
Read these words aloud: "client side". Don't you hear your answer already? :-)If something is on the client side, already on client side, the already client has a full access to it, it's too late to "protect" anything. What protection can you talk about? You can only make the code hard to...
13 Mar 2013 by Sergey Alexandrovich Kryukov
No, you cannot do it. This is a pure client-server architecture. You need to modify the diagram: requests go as you depicted it. Then the response goes from the Tomcat server back to Apache server, and then the Apache server sends HTTP response to the browser.For some background, please...
30 Apr 2013 by Balimusi
WCF might be a good option for you. You can take advantage of the attributes that WS-Security provides – it describes how to handle security issues within the SOAP messages. WS-Security assigns the signature and encryption information as well as the security tokens to the SOAP messages. Besides...
12 Aug 2013 by pasztorpisti
Almost every serious software I have (including the free antivirus software I have used) used http to download updates (I know this because of the firewall warnings/setup on my home machine). From a networking perspective updating means nothing more, just downloading data. For that purpose I...
31 Aug 2013 by ridoy
Check these:How to: Call a Web Service[^] Introduction to Web Services in C#[^]Web Services C Sharp .NET End to End Tutorial[^]
25 Dec 2013 by JoCodes
Its a warning associated on how to display or render the xml whether raw xml or with some style like table,bold etc. It can be avoided using xsl in the xml .
6 Jan 2014 by Member 10336592
1) Right click on your project in VS2005 or VS2008 or VS2010.2) 2) Click on Properties3) 3) Click on Web tab4) 4) Under Servers, click on the radio button Use Visual Studio Development Server 5) Check Auto Assign Port radio button5) 6) Uncheck NTLM Authentication...
24 Mar 2014 by Sergey Alexandrovich Kryukov
It means that job.RecruiterReference is null or, otherwise, job.RecruiterReference.UserName is null. Before this line, all you did was the call to the Job constructor. You did not show the code of this constructor, so we could not know what was initialized and what not.Not to worry. This is...
31 Mar 2014 by Kornfeld Eliyahu Peter
Start reading these - than come back with new question...An introduction to web services: Daily Dilbert[^]Introduction to .NET Web Services[^]Understanding the Basics of Web Service in ASP.NET[^]A Beginner's Tutorial for Understanding Windows Communication Foundation (WCF)[^]What's the...
3 Apr 2014 by Schatak
Try this link http://www.asp.net/web-api/overview/security/external-authentication-services[^]
3 Apr 2014 by Er. Puneet Goel
I have just found this article.Web-Service-AuthenticationThis looks much helpful.
4 Apr 2014 by Er. Puneet Goel
You need to add .Trim() in the row row.Add(col.ColumnName, rs[col]);Finally it should be like row.Add(col.ColumnName.Trim, rs[col].ToString().Trim());
5 Apr 2014 by Schatak
Try to start with the following link and code yourselfhttp://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbservice/restfulws/restfulws.html[^]you will get some idea how to start with the requirements. if you struck some where then you can ask the question related to your code.
1 May 2014 by Sergey Alexandrovich Kryukov
Before learning .NET serialization, you need to learn what it means and what are the general purposes: http://en.wikipedia.org/wiki/Serialization[^].If you still cannot understand the purpose, think about this: during runtime, you create and modify certain objects in memory. What happens to...
11 Jun 2014 by Manikandan10
You can't do such things and there are no API for that. How can you pass the Human Verification or Captchas?
12 Jun 2014 by Jafarinejadvazifehkhorani
The only thing that you can do is using Google, Microsoft, Facebook or Yahoo as Identity provider in order to authenticate users. So , if it's the case refer to WIF(Windows Identity Foundation)
6 Nov 2014 by Member 11149626
System.Net.ServicePointManager...
23 Jun 2015 by Rob Philpott
Hmm. Don't know whether 1000s of async requests is a great idea, but then I don't really do web stuff.However, this line:client.SendDetailsCompleted += delegate(object sender, SendDetailsCompletedEventArgs args)is in the loop, which means that any time the event is fired, the callback...
18 Apr 2016 by ZurdoDev
If the ATKS team said it cannot be downloaded, but to refer to the articles on how to call them, then that is the answer. What else would you hope for?
15 Jul 2016 by OriginalGriff
It will execute the return statement - i.e. it will evaluate the parameter - and then it will execute the finally block. After that it will adjust the stack and return execution (along with the value) to the calling function.If you aren't sure, then create some dummy code and test it:private...
14 Sep 2016 by ZurdoDev
As mentioned in comments the server should handle that for you. If you find that your server cannot handle the load then you implement load balancing or some other technique but your code will stay the same, essentially.
1 Nov 2016 by Harpreet05Kaur
HI,Its upto the requirements , whether development of service is required .If You are going to create one Genralized operation for multiple users then service can be created.Others thing could be :REST or SOAPAuthetication and AuthorizationTransfer typeand many more...
26 Dec 2016 by robert_chang
Learn how to connect to Dynamics CRM, customize and query Customer Address entity, geocode the address and update CRM data.