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

HTTP Status-code for empty response and response not found

We are implementing a REST based web service and we have some queries on some of the use cases. Consider there is a unique account which contains some information (Ex. added to cart information) What response code should we return if no cart…
10
votes
1 answer

SOAP and HTTP response codes

Is SOAP end-point over HTTP expected to return any status code except 200 and 500? I have a SOAP end-point that has some business logic to reject requests when there are too many of them. I wonder what is the correct HTTP response code in this case…
Alex T
  • 1,296
  • 2
  • 17
  • 25
10
votes
2 answers

Django as SOAP web-service server

I need to rewrite an existing SOAP service (we have a WSDL file) in Django/Python what libs or solutions you will recomend to me? Link are wellcome. PS: ZSI can parse wsdl, but I don't like it, it is too old (may be I'm wrong)
Andrey Koltsov
  • 1,956
  • 6
  • 24
  • 43
10
votes
4 answers

WCF Service: Publicly available services useful for testing

I need a public WCF service to test against. I would like some basic methods to call. What service should I use. (sidenote: how do I search for publicly available services?) Im trying this out : sudz code generator and I don't want to have to setup…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
10
votes
1 answer

Using polymorphic JAX-WS webservice parameters

I have this simple JAX-WS WebService: @WebService public class AnimalFeedingService { @WebMethod public void feed(@WebParam(name = "animal") Animal animal) { // Whatever } } @XmlSeeAlso({ Dog.class, Cat.class }) public abstract…
adrianboimvaser
  • 2,651
  • 1
  • 22
  • 30
10
votes
3 answers

How to make a WCF service STA (single-threaded)

I have a WCF service which includes UI components, which forces me to be in STA mode. How do I set the service behaviour to STA-mode? The service uses a reference to a WPF DLL file which opens a UI window (used as view port) for picture analysis.…
Michael
10
votes
3 answers

Custom HTTP Basic Authentication for ASP.NET Web Services on .NET 3.5/VS 2008

I am refactoring a working ASP.NET Web Application to expose Web Services interface using ASP.NET Web Service. According to Web Services authentication - best practices, Basic Auth over https is the way to go. Let's assume it is, as opposed to doing…
Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319
10
votes
3 answers

Does .net 4.0 still support asmx

I Opened my .net 2.0 ASMX webservice in VS2010 and migrated to .net4.0. If i simply run my ASMX w/o changing te code to WCF format i can still run old asmx service under .net 4.0 ?? will this work as it is? My web.config file also has WSE settings…
Gauls
  • 1,955
  • 6
  • 28
  • 44
10
votes
3 answers

Adding Http Header in an existing WCF SOAP Service is not working

I would like to an HTTP header to my WCF SOAP Service. My end goal is to send API keys through this HTTP header. Below is my code: [ServiceBehavior(Namespace = "http://****.com/**/1.1")] public class MyWcfSvc : IMyVerify { const int…
tRuEsAtM
  • 3,517
  • 6
  • 43
  • 83
10
votes
2 answers

Deploy Webservice using InstallAware

I have created WCF web service and created setup using InstallAware so that our customer just run the setup and it will deploy web service in IIS. My setup create virtual directory under "Default Website" in IIS. Every thing is work fine, my setup…
Rajesh Pandya
  • 1,540
  • 4
  • 18
  • 31
10
votes
1 answer

What is the difference between a web service and application layer of code in an application server

Hello I am a newbie to n-tier architecture and was trying to find out the difference between what an application server hosting application layer of code does, and what a web service does? So I'll tell you people my understanding of the whole n-tier…
macha
  • 7,337
  • 19
  • 62
  • 84
10
votes
2 answers

Sending JSONP vs. JSON data?

I am making a web service that needs to return data in JSONP format. I am using the JSON taglib for JSP, and I thought all that had to be added were parenthesis, but I cannot find a good resource which verifies this. For example, ever web service…
Garrett
  • 11,451
  • 19
  • 85
  • 126
10
votes
1 answer

Axis exception: o.a.axis2.transport.http.HTTPSender.sendViaPost(196) - Unable to sendViaPost - Connection refused

I have a server that is executing a Webservice call to an external server. This call has to occur over SSL and using a proxy: My truststore is well configured: trustStore is: /opt/configuration/keystore/truststore.jks trustStore type is :…
Mathias G.
  • 4,875
  • 3
  • 39
  • 60
10
votes
8 answers

Properties in a response object after a webservice call are null

I can see the object in Fiddler but the object is not deserializing on my end. Has anyone seen this before?
Sean
  • 123
  • 1
  • 6
10
votes
4 answers

Paypal Sandbox Do Direct Payment Internal Error 10001 Timeout Processing Request

This is in an MVC2 project, so I'm using C# in ASP. This is what I'm sending to https://api-3t.sandbox.paypal.com/nvp: VERSION = 65.0 SIGNATURE = AFcWxV21C7fd0v3bYYYRCpSSRl31AxdW2pQp.tWHTjGNcHflR-LJhJ0t USER =…
Adam
  • 901
  • 2
  • 10
  • 13
1 2 3
99
100