Questions tagged [web-services]

A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.

A web service is an application that responds to requests using a protocol built on top of HTTP (see also ), the protocol of the World Wide Web. The term can also designate the application protocol itself.

Some web services follow the REST (representational state transfer - see also ) principle, where communication takes the form of requests from a client and matching responses from the server, and the server does not keep track of successive requests from a client (no sessions).

The W3C standardizes WSDL (see also ) to describe web service protocols and SOAP (see also ) to structure messages encoded in XML (see also ).

60164 questions
10
votes
2 answers

ASMX Webservice Test tool

Is there any simple tool to test ASMX webservices where I can provide the service URL, request XML and get back the result (xml stream in my case)
softwarematter
  • 28,015
  • 64
  • 169
  • 263
10
votes
6 answers

Webservice to get City Names by giving Zip Codes

I need a reliable webserivce which gives corresponding city name by passing zip code. This webservice should work at any time. This webservice will be used in the production also.
karthik k
  • 3,751
  • 15
  • 54
  • 68
10
votes
5 answers

The connected services component Microsoft WCF web service reference provider failed.(HRESULT: 0x80131500) the project format is incorrect

I upgraded my project from dotNetCore 2.2 to 3.0 two weeks ago. Now I want to add a Webservice to it. I am using Visual Studio 2019 But I got this error when I clicked on Microsoft WCF Web Service Reference Provider None of the suggestions about…
techstack
  • 1,367
  • 4
  • 30
  • 61
10
votes
2 answers

accessing the arguments object is expensive.. huh?

I've heard alot of people saying that accessing the arguments object is expensive. (example: Why was the arguments.callee.caller property deprecated in JavaScript?) Btw what exactly does that statement mean at all? isn't accessing the arguments…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
10
votes
5 answers

How can I access the ApplicationContext from within a JAX-WS web service?

Similar to How can I access the ServletContext from within a JAX-WS web service?, is there a way to access applicationContext, easier than this? import javax.annotation.Resource; import javax.jws.WebService; import…
pihentagy
  • 5,975
  • 9
  • 39
  • 58
10
votes
3 answers

Spring-ws -Problem request webservice from tomcat 6

I have implement a certain spring-ws service and when I sent a soap message I receive in spring webapplication 1 (running on tomcat 6.0.32): Request:
Michel
  • 9,220
  • 13
  • 44
  • 59
10
votes
4 answers

Need help with creating inital JAX-WS project

I'm stepping through this tutorial: http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html I'm trying to select the axis2 Web Service facet (step 6) but I'm getting this error message in eclipse: "Axis2 Web…
opike
  • 7,053
  • 14
  • 68
  • 95
10
votes
3 answers

Periodic Exception in WSDL Export Extension

I have a SOAP service that's been running for a little over a month now. Over the past two weeks we've had situations where the service will randomly start to generate exceptions. Each time, they seem to be related to the export extension, and the…
10
votes
3 answers

WCF Service - Backward compatibility issue

I'm just getting into creating some WCF services, but I have a requirement to make them backward compatible for legacy (.NET 1.1 and 2.0) client applications. I've managed to get the services to run correctly for 3.0 and greater clients, but when…
ZombieSheep
  • 29,603
  • 12
  • 67
  • 114
10
votes
2 answers

Robustly call a flaky API: proper error handling with Net::HTTP

I hacked this together as a seemingly robust way to call a flaky webservice that was giving timeouts and the occasional name resolution or socket error or whatever. I thought I'd put it here in case it's useful or, more likely, to be told a better…
dreeves
  • 26,430
  • 45
  • 154
  • 229
10
votes
6 answers

Enable multiple HTTP Methods on a single operation?

I have an operation contract (below) that I want to allow GET and POST requests against. How can I tell WCF to accept both types of requests for a single OperationContract? [OperationContract, WebInvoke(Method="POST", BodyStyle =…
Eric Schoonover
  • 47,184
  • 49
  • 157
  • 202
10
votes
5 answers

Still getting "Request format is unrecognized for URL unexpectedly ending in..."

Greetings, I've looked everywhere and every answer I see tells me to put the following in my web.config:
Dave
  • 171
  • 2
  • 2
  • 5
10
votes
8 answers

What Web Applications Do You Know Using Webhooks

Description of how a webhook works from http://webhooks.pbwiki.com/ - How do they work? By letting the user specify a URL for various events, the application will POST data to those URLs when the events occur...Among other things, you can: create…
Laz
  • 3,474
  • 9
  • 33
  • 46
10
votes
1 answer

How to use PowerShell invoke-webrequest with Windows Authentication and Username\Password

The following PowerShell invoke-webrequest works for me when the Windows Service I'm running it from has permission to call the webservice. However, this isn't always the case. I need to the ability to use Windows Authentication but also set the…
PatrickNolan
  • 1,671
  • 2
  • 20
  • 40
10
votes
3 answers

SOAP Web Service / VS2010 Add Service Reference

I am having problems gaining access to a clients web service online. If I have the wsdl file, can I do "something" in VS2010 with it so I can add it as a reference and start my C# coding? Thanks Paul
Paul Brown
  • 4,926
  • 9
  • 32
  • 44
1 2 3
99
100