How can this be achieved?
DRAG DROP
Exhibit:
<DataContract(Namespace:)>
Public Class Item
End Class
<ServiceContract(Namespace)>
Public Interface Catalog <OperationContract>
<WebInvoke(Method = “POST”, UriTemplate = “Item”)>
Function UpdateItem(ByVal item As Item) As Item
End Interface
There is a WCF (Windows Communication Foundation) service that is being consumed.
The interface of the service is displayed in the exhibit.
There is a WebResponse with the name of PassGuideResponse that the client application
receives from the service.
PassGuideResponse must be deserialized into a strongly typed object.
This object represents value that is returned by the method.
How can this be achieved?
Which code should be used?
DRAG DROP
There is a WCF (Windows Communication Foundation) client application PassGuideApp.
PassGuideApp is consuming an syndication RSS feed from librivox.org.
PassGuideApp uses a SyndicaionFeed variable PassGuideFeed.
For each syndication item PassGuideApp needs to show the content type and body on the display.
Which code should be used?
How can this be achieved?
DRAG DROP
Exhibit:
<DataContract>
Public Class Order
<DataMember>
Public Property CustomerName As String
<DataMember>
Public Property PhoneNumber As String
End Class
There is a WCF (Windows Communication Foundation) process PassGuideProcess.
PassGuideProcess handles orders.
The data contract of Order is displayed in the exhibit.
It includes name of the customer (CustomerName) and their telephone number (PhoneNumber).
The Order data must be transmitted from the client to PassGuideProcess.
PhoneNumber data must not be sent in clear text, but this data must be available for
PassGuideProcess.
How can this be achieved?
How can this be achieved?
DRAG DROP
Exhibit:
<MessageContract>
Public Class Agent
Public Property PassGuideName As String
Public Property PassGuideName As String
End Class
There is a WCF (Windows Communication Foundation) process PassGuideProcess.
When clients are started the send messages to PassGuideProcess. These messages are
accepted by PassGuideProcess.
The contract of the messages is being displayed in the exhibit.
PassGuideProcess must be able to make sure that the property values is kept unchanged after it
has been sent by the client.
PassGuideName should be sent in clear text while PassGuideSecret must not. PassGuideProcess
must be able to read both.
How can this be achieved?
How can this be achieved?
Exhibit:
<ServiceContract>
Public Interface IDataService
<OperationContract>
Function PassGuideData() As String
End Interface
There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is exposing
the contract being displayed in the exhibit.
At the moment calls to PassGuideData has a 10 seconds completion time.
Current client calls makes blocking calls to PassGuideData.
New clients must be allowed to make non-blocking calls to obtain data from PassGuideData.
At the same time the existing clients must not break.
How can this be achieved?
How can this be achieved?
DRAG DROP
Exhibit:
<ServiceContract>
Public Interface IDataAccessService
<OperationContract>
Sub PassGuidePut(ByVal message As String)
<OperationContract>
<FaultContract(GetType(TimeoutFaultException))>
<FaultContract(GetType(FaultException))>
Function PassGuideSearch(ByVal search As String) As String()
End Interface
There is a WCF (Windows Communication Foundation) service.
The service implements the contract being displayed in the exhibit.
Database timeouts causes PassGuideSearch to throw TimeoutFaultException exceptions.
Other issues that causes problems for PassGuideSearch thows Exceptions.
The clients receives the exceptions as generic FaultException exceptions.
A new channel must be created on the client. New error handling code for PassGuideSearch must
be created. This code should only handle errors on the new channel.
How can this be achieved?
How can this be achieved?
Exhibit:
Sub PassGuideDelete (Byval PassGuideId As String)
There is a WCF service PassGuideService.
PassGuideService implements restful manner operations.
The PassGuideDelete method is implemented as displayed in the exhibit.
When a client calls PassGuideService with the HTTP DELETE operation PassGuideService must
use this method.
How can this be achieved? Select two or three.
DRAG DROP Service Contract exhibit: <ServiceContract> Public Interface IService <OperationContract&
DRAG DROP
Service Contract exhibit:
<ServiceContract>
Public Interface IService
<OperationContract>?
Function PassGuideOp (ByVal s As String) As String
There is a WCF service PassGuideService.
PassGuideService uses the service contract in the exhibit.
PassGuideOp must respond to HTTP POST request.
How can this be ensured?
How should the router be implemented?
DRAG DROP
There is a WCF (Windows Communication Foundation) service PassGuideService.
PassGuideService is implementing a contract through one-way and request reply operations.
PassGuideService is exposed over a TCP transport.
End users use a router to access PassGuideService.
How should the router be implemented?
How can this be ensured?
DRAG DROP
Exhibit:
<ServiceContract>
Public Interface IMessageProcessor
<OperationContract>
Sub PassGuideProcess()
End Interface
Public Class MessageProcessor
Implements IMessageProcessor
Public Sub ProcessMessage() Implements IMessageProcessor ProcessMessage
PassGuideSubmit()
End Sub
End Class
There is a WCF (Windows Communication Foundation) service PassGuideService.
It is defined in the exhibit.
PassGuideSubmit uses another service not defined above.
There is performance problem with the PassGuideProcess method when it is run in heavy load.
Processing of multiple messages must be supported.
Additionaly you must make sure that new messages is only processed when PassGuideProcess is
not waiting for request and there is no waiting for PassGuideSubmit processes to finish.
How can this be ensured?