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 of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that will be accessed by SOAP clients. To this end you need to specify the parameter formatting to result in a Web service that is Web Services Interoperability (WS-1) compliant.
What should you do?
A.
Make use of Remote Procedure Call (RPC)-literal formatting.
B.
Make use of Document-literal formatting.
C.
Make use of Remote Procedure Call (RPC)-encoded formatting.
D.
Make use of Document-encoded formatting.
Explanation:
You need to make use of the document-literal Web method with wrapped parameter styles to comply with the WS-1 standard.
Incorrect answers:
A: RPC formatting always encapsulates parameters as elements within a single body element. The WS-1 standard does not support RPC formatting.
C: RPC formatting is not supported in the WS-1 standard, whether it is in literal or encoded form.
D: You should not make use of document-encoded formatting. This indicates that the parameter elements must explicitly specify their types and it does not comply with the WS-1 standard.