WCF « restful « Java Enterprise Q&A





1. REST / SOAP endpoints for a WCF service    stackoverflow.com

I have a WCF service and I want to expose it as both a RESTfull service and as a SOAP service. Anyone has done something like this before?

2. Has anyone used the new WCF REST Starter Kit successfully and would you use it again?    stackoverflow.com

As the title suggests, I would like to see if this is something people are happy with. I have several projects, where I will dedicate some time in experimenting with different kinds ...

3. REST vs. SOAP - Doesn't support Transactions?    stackoverflow.com

I'm barely examining the architecture of REST and SOAP as an SOA in my architecture. When comparing the two, I've heard one of the downsides to REST is that is ...

4. Is the WCF Service Trace Viewer tool indispensable?    stackoverflow.com

Do I need to learn the WCF Service trace viewer tool? I understand I can use the WCF Service Trace Viewer tool to trace messages leaving from clients, or ...

5. Combined SOAP/JSON/XML in WCF, using UriTemplate    stackoverflow.com

I'm trying to build a generic web service interface using WCF, to allow 3rd party developers to hook into our software. After much struggling and reading (this question helped a ...

6. Real world example wcf with rest and soap end points    stackoverflow.com

I've been looking around for good wcf samples which expose both WCF and REST endpoints with end to end examples and I am having a bit of trouble finding anything concrete. ...

7. Config for WCF with multiple endpoints    stackoverflow.com

I'm new to WCF and am trying to get some ideas I have off the ground. Basically I have a web WCF Application project with the following in its web.config:

<system.serviceModel>
   ...

8. WebOperationContext behavior for non REST WCF Services?    stackoverflow.com

What happens in my service method if I use a WebOperationContext, when the endpoint is not REST? Justification: I have a service that I'm exposing as both REST and SOAP.

9. Hosting WCF soap and rest endpoints side by side    stackoverflow.com

I have written a service that I would like expose both via rest and soap. Everything I read about WCF 4.0 says that I just need to expose 2 endpoints ...





10. How should a WCF service implementation handle errors/faults without coupling to FaultContract    stackoverflow.com

I understand the concept of Fault Contracts in WCF, but they seem to be tightly coupled to WCF and SOAP in particular. I've created a set of services that are ...

11. If SOAP is now considered overengineered over REST why isn't WCF?    stackoverflow.com

I'm amazed that years over years IT pretend to simplify communication or software design and a few years later it declare it was over-engineered. EJB, SOAP, so looking at all the ...

12. How do I expose a SOAP endpoint using the WCF Starter Kit?    stackoverflow.com

I am new to WCF so please bear with me. Using the latest version of the WCF REST Starter kit, I created a web service that is being called by an ...

13. Are REST and SOAP enemies?    stackoverflow.com

Nowadays, REST is very popular on web community. So that I am curious to know these two questions.

  1. Are SOAP and REST enemies?
  2. Which one is better and why?

14. WCF 4 - Soap and REST endpoints    stackoverflow.com

I was looking at using the WCF REST Service Application template to host all of my RESTful web services, however, I would also like to be able to expose out my ...

15. WCF 4 Service with REST/SOAP endpoints in IIS 7.5    stackoverflow.com

Hello and thank you for reading. I'm trying to get a service hosted in IIS 7.5, that has multiple endpoints exposed. I have a feeling the problem lies within my web.config, but I'll ...

16. WCF 3.5 running SOAP and REST services side by side in IIS    stackoverflow.com

I know that similar question was asked here : Running SOAP and RESTful on the same URL Hosting WCF soap and rest endpoints side by side but didn't find an answer to ...





17. Can I expose a service with REST & SOAP via WCF?    stackoverflow.com

I want to architecture our software so that we can expose our API logic using WCF (SOAP and REST). Im confused as to whether I have to use ASMX files if ...

18. Is it possible to set up a WCF service as REST & SOAP this way?    stackoverflow.com

Im trying to combine SOAP and REST under one roof with some modification. But I dont know whether its possbile. My code is below, it used to work when REST only ...

19. Design Pattern for selectively exposing methods through SOAP and REST endpoints in WCF    stackoverflow.com

I have a WCF web service that defines IInterface interface. This interface declares two methods: Method1 and Method 2. I want to expose both of these methods through a SOAP endpoint, ...

20. Port WCF SOAP service to REST service: How to implement user/password/token authentication    stackoverflow.com

I've got a WCF service provided with a SOAP endpoint with the following service contract:

[OperationContract]
string Login(string sAuthUserName, string sAuthUserPassword);

[OperationContract]
Consumer GetData(string sAuthKey);

[OperationContract]
bool Logout(string sAuthKey);

[OperationContract]
DataSet GetSingleByRefID(string sAuthKey, int iCommand, int iRefID);
Calling Login() checks ...

21. How do I get the WSDL/description so that I can add WebReference in another project?    stackoverflow.com

I know how to add a WebReference in Visual Studio, easy enough. I also know how to create a normal ASP.NET Web Service project, but thats not what I am doing ...

22. WCF REST and SOAP Service without WebServiceHostFactory    stackoverflow.com

Despite reading a number of posts eg (This one seems popular) I can't seem to expose my service as multiple endpoints that are compatible with both the SOAP and ...

23. Using WCF, surely REST and SOAP should work in harmony?    stackoverflow.com

REST Only accepts String..? So What I do is make a string exposed contract and convert it server side, and pass it to my method which SOAP was directly calling. Which works. ...

24. Can you do asynchronous communications with Java and REST web services?    stackoverflow.com

Can you do asynchronous communications with Java on a client that is consuming a REST web service that sometimes takes several minutes to return a value? I think not, after reviewing the ...