What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The configuration and customization of Web Service applications forms part of your responsibilities at Domain.com.
You are currently busy developing an Extensible Markup Language (XML) Web service. This XML Web service is intended to allow the traffic department to perform driver license verifications. The traffic department will send a SOAP request similar to the one illustrated in the exhibit.
<soap:envelope>
<soap:body>
<state xmlns=”urn:gov:DOT”>GA</state>
<licenseNumber xmlns+”urn:gov:DOT”>111222333</LicenseNumber> </soap:body>
<soap:envelope>
You have created a Web method named VerifyLicense. And now you need to apply an attribute to the VerifyLicence method to enable it to support the SOAP requests which will be sent to it.
What should you do? (Choose the correct code segment.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The configuration and customization of Web Service applications forms part of your responsibilities at Domain.com. Domain.com operates as a taxi-cab-for-hire company. You are currently developing an Extensible Markup Language (XML) Web Service that is meant to allow Domain.com to be able to locate the taxis that it provides for its customers. With this Web service application the Domain.com Web service clients will send a SOAP request silimar to the one that is illustrated in the exhibit.
<soap:envelope>
<soap:body>
<ObtainLocation xmlns=”urn:gov:DOT”>
<mobilePhoneNumber>000-000-0000</mobilePhoneNumber> </ObtainLocation>
</soap:body>
<soap:envelope>
You have created a Web method named ObtainLocation. You then apply a SoapDocumentMethod attribute to ObtainLocation. Now you need to configure the SoapDocumentMethod attribute so as to enable it to support the SOAP request.
What should you do? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The configuration and customization of Web Service applications forms part of your responsibilities at Domain.com.
You are currently busy developing an Extensible Markup Language (XML) Web service. This XML Web service is intended to allow the traffic department to perform driver license verifications. To this end you created the following Web method:
<WebMethod()>
public void VerifyLicence(string licenseNumber)
{}
You need to apply an attribute to the method to specify the parameter style and formatting that is expected from SOAP clients. You should take care that the XML Web Service that you are developing is Web Services Interoperability (WS-1) compliant.
What should you do? (Choose the correct code segment.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The configuration and customization of Web Service applications forms part of your responsibilities at Domain.com.
The following exhibit illustrates the class definition that currently exists for a Web Service.
WebService(), SoapRpcService()>
public class LicenseService : WebService
<WebMethod(), SoapRpcMethodAttribute()> public numeral ObtainPoints(string licenceNumber)
{
return 0;
}
<WebMethod(),SoapRpcMethodAttribute(string state, string licenseNumber)> void ValidateLicense()
{
}
}
You received instruction to apply the WebServiceBinding attribute to support the Web Service.
What should you do?
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The configuration and customization of Web Service applications forms part of your responsibilities at Domain.com.
You are currently busy developing an Extensible Markup Language (XML) Web Service named MarketService. This MarketService will be used by the Domain.com Marketing department. You are now required to create a Web method named ObtainMarket. The ObtainMarket Web method must return global posisioning system (GPS) coordinates of a mobile phone given a mobile phone number.
In you development of the ObtainMarket Web method, you must ensure that it can be uniquely identified among all the Web services that are implemented by the Sales and Transport departments.
What should you do? (Choose the correct code segment.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Web Service applications forms part of your responsibilities at Domain.com. You have just developed an Extensible Markup Language (XML) Web service application by making use of Microsoft Visual Studio 2005. Now you need to deploy the project that contains the application to another computer on the Domain.com network. The other computer intended to have the project deployed does not have Microsoft Internet Information Services (IIS) 6.0 installed. However, you need to deploy the project.
What should you do?
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
After receiving instructions, you have just finished developing and deploying public and private Extensible Markup Language (XML) Web services to a production server. This production server has been configured with Microsoft Internet Information Services (IIS) 6.0. The Web services are located on different IIS virtual directories. Each of these IIS virtual directories hosts either public Web services or private Web services, but not both. Part of the instructions that you received also states that Web service clients must have the ability to discover the public Web services dynamically, but not the private Web services. The Web Service clients should also be granted the ability to ability to dynamically discover any new public Web services that are added to an existing virtual directory. To this end you now need to configure the server to meet these requirements. You should take care that your configuration does not prevent the discovery of Web services in new virtual directories unless you reconfigure the server.
What should you do? (Each correct answer presents part of the solution. Choose three.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
After receiving instructions you have just completed the development and the deployment of an Extensible Markup Language (XML) Web service application. This XML Web service application contains ten (10) Web services. At present dynamic discovery on the Web server that hosts the application has been disabled. To this end you now need to configure the Web.config file of the application to allow Web service clients the ability to dynamically discover all the Web services. You also want to ensure that the Web service clients will be able to discover any future Web services that will be added.
What should you do? (Choose the correct configuration.)
What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
After receiving instruction you have just finished developing an ASP.NET Web application named WebServices. WebServices contains the Web services for each of the Domain.com clients. Microsoft Internet Information Services (IIS) 6.0 is hosting the Web application. And the Web application is configured in such a way so as to map host header names to client-specific virtual directories. Each Domain.com client has its own virtual directory. These virtual directories are located in a root virtual directory named WebServices. The following exhibit illustrates an example of the virtual directory structure:
WebSite
WebServices (Web Application)
Client A (VirtualDirectory)
WebService1.asmx
WebService2.asmx
Client B (VirtualDirectory)
WebService3.asmx
WebService4.asmx
Client C (VirtualDirectory)
WebService5.asmx
WebService6.asmx
You received further instructions to ensure that all Domain.com clients have the ability to discover all of the Web services that are implemented in the Web application for that client. You need to accomplish this task while also making provision for those Web services that is intended for future implementation. However, you also need to ensure that the Domain.com clients should not have the ability to discover implemented Web services intended for other clients.
What should you do? (Each correct answer presents part of the solution. Choose two.)
<?xml version="1.0"?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com.
The following exhibit illustrates a configuration.
Exhibit:
<?xml version=”1.0″?>
<dynamicDiscovery xmlns=”urn:schemas-dynamicdiscovery:disco.2007.02.19″> <exclude path=”_vti_cnf” />
<exclude path=”_vti_pvt” />
<exclude path=”_vti_log” />
<exclude path=”_vti_script” />
<exclude path=”_vti_txt” />
<exclude path=”Web References” />
</dynamicDiscovery>
You have just added the above configuration to a new file by means of using a text editor. You need to save this file to a production server to provide the Web service discovery.
What should you do?