PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-513 (update June 30th, 2014)

Exam 70-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4 (update June 30th, 2014)

How should this be achieved?

Contract exhibit:
[ServiceContract(Namespaces”http://PassGuide.com”)]
public interface IShipping {
[OperationContract] string PassGuideWork(int id);
}
There is a WCF (Windows Communication Foundation) application PassGuideApp.
There is a WCF (Windows Communication Foundation) service PassGuideService.
The contract of PassGuideService is being displayed in the exhibit.
PassGuideApp is also hosting other services.
PassGuideApp endpoints use SOAP 1.2 bindings with WS-Addressing 1.0.
There is one single lister configured in System.ServiceModel.MessageLogging trace source of the
system.diagnostics configuration section.
Only the messeages that the PassGuideWork operation returns should be logged.
How should this be achieved? Select four.

How can you ensure that PassGuideOp1 and PassGuideOp2 runs within the same transaction whenever they are calle

DRAG DROP
Service implementation exhibit:
class PassGuideService: IPassGuideService
{
public void PassGuideOp1(string value) {}
public void PassGuideOp2(string value) { }
}
Contract exhibit:
[ServiceContract(SessionMode s SessionMode Required)]
public interface IPassGuideService
{
[OperationContract(IsOneWay = true, IsInitiating = true)]
void PassGuideOp1(string value);
[OperationContract(IsOneWay = true, IsInitiating = false)]

void PassGuideOp2(string value);
}
There is a WCF (Windows Communication Foundation) service PassGuideService.
The contract and implementation of PassGuideService is being displayed in the exhibits.
NetMsmqBinding us used by PassGuideService to listen for messages.
The queue is configured to use transactions for removing and adding messages.
How can you ensure that PassGuideOp1 and PassGuideOp2 runs within the same transaction
whenever they are called within the same session?

How should this be achieved?

DRAG DROP
Soap envelope exhibit:
<s:Envelope xmlns:se’http://schemas.xmlsoporg/soap/enveloper’>
<s: Header>
<h:PassGuideID xmlns = “http:/www.PassGuide.com”>
9283
</h: PassGuideID>
</s:Header>
<s:Body>
<PassGuideStock xmlns=http://www.PassGuide.com”>
<ParticularID>1234 </ ParticularID >
</PassGuideStock>
</s: Body>
</s: Envelope>

The SOAP envelope in the exhibit must be generated.
How should this be achieved?

How can this be achieved?

DRAG DROP
PassGuideService Exhibit:
[ServiceContract]
public interface PassGuideService
{
[OperationContract]
DateTime GetPassGuideServiceTime;
}
There is a class PassGuideService.
PassGuideService is hosted within an ASP.NET application PassGuideApp.
PassGuideService implements the interface being displayed in the exhibit.
PassGuideApp must be tweaked so that the GetPassGuideServiceTime method returns the result
formatted as JSON when request url ends in /PassGuide.
How can this be achieved?

How can this be achieved?

Exhibit:
string void PassGuideDelete(string PassGuideId);
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.

How can this be ensured?

DRAG DROP
Exhibit:
You are modifying an existing Windows Communication Foundation (WCF) service that is defined
as follows
[ServiceContract]
public interface MessageProcessor {
[OperationContract]
void PassGuideProcess ()
public class MessageProcessor: IMessageProcessor {
public void ProcessMessage()

PassGuideSubmit();
}
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?


Page 7 of 15« First...56789...Last »