Expert
Your internet application has a WCF service that allows you to manipulate order data. This service is currently used by a .NET application internal to your information system.
Orders must now also be manipulated by an external application, written in PHP by developers who know the REST protocol.
The PHP developers ask you to make the method of updating the status of an order available on URLs of the form:
HTTP POST http://localhost/OrderService.svc/update-status/1347128?status=Shipped
The response must be sent in XML or JSON format depending on the value of the HTTP header
« Accept ». What do you need to do for this?
Author: InconnuStatus: PublishedQuestion passed 26 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
0
Create a WCF ContentManagement.svc service with the WebGetAttribute and WebInvokeAttribute attributes.,Define an endpoint behavior (EndpointBehavior) in the web.config that enables the web programming model.0
Generate a proxy class with asynchronous methods and use it for new clients.0
Configure IIS to allow the http verbs PUT and DELETE for the service.0
Create a service host in Dot-net0
Fix the error in this C# code.1
How to create a WCF service in C#0
How to get the first element of an array in C#