Which three can an EJB-based endpoint use? (Choose three.)
A. HTTP sessions
B. Java EE 5 declarative security
C. Java EE 5 programmatic security
D. client-demarcated transactions
E. container-managed transactions
A client sends a required SOAP header as a SOAP message. The server-side process determines that information in the header is invalid and generates a SOAP fault. What is the appropriate fault code for this type of SOAP fault?
A. Client
B. Server
C. MustUnderstand
D. VersionMismatch
E. HeaderError
F. InvalidHeader
A company is creating an XML schema that describes various training materials available for purchase by students.
Given the namespace aliases and schema that appear in the WSDL file for a document-style Web service:
xmlns:xsd="http://schemas.xmlsoap.org/wsdl/"
xmlns:book="http://www.sun.com/books"
...
Which is a valid message element for this WSDL file?
A.
B.
C.
D.
E.
F.
Which three security technologies are included in WS-Security? (Choose three.)
A. security pattern injection
B. encryption
C. single sign-on
D. security tokens
E. digital signatures
Which two statements are true about elements in a WSDL document? (Choose two.)
A. Operation is an abstract set of port types supported by one or more endpoints.
B. Service is an abstract set of operations supported by one or more endpoints.
C. Message is an abstract description of an action supported by the service.
D. Operation is an abstract description of an action supported by the service.
E. Binding is a single endpoint defined as a combination of an operation and a network address.
F. Message is an abstract, typed definition of the data being communicated.
What are three best practices that can be implemented when generating WS-I Basic Profile compliant Web services? (Choose three.)
A. send arrays of nulls to ensure .NET and Java clients receive the same data
B. define data types early in the integration cycle
C. use complex data types to reduce the number of items exchanged
D. test interoperability at every stage of development
E. insert conformance headers in all SOAP messages
F. keep data types simple for speed and stability
A team of developers is designing RESTful Web services for a new application. What are three properties of the services? (Choose three.)
A. They can be stateful.
B. They can be stateless.
C. Components communicate by exchanging representations of the resource.
D. Components communicate by directly performing operations on the resource.
E. They require WSDL service API definitions.
F. Responses can be labeled as cacheable or non-cacheable.
A company is refactoring an existing website to use Web services clients. The application retrieves lists of parts and displays them to the users in a browser window. Previously, the data was stored as files on the web server and, in order to access the files, the user would simply click on a hyperlink. Now the data must be dynamically generated via a service that another developer has created. They want the easiest way to refactor their website to use Web services. Which three technologies should they use? (Choose three.)
A. SOAP
B. REST
C. Javascript
D. XML
E. JSON
F. Java
Which two are defined by SAML? (Choose two.)
A. a standard that describes an access control policy language for XML documents
B. a protocol by which clients can request assertions about subjects from SAML authorities
C. a standard for including digital signatures in SOAP messages for Web services that require single sign-on
D. the structure of the XML documents that transport authentication and authorization information between services
E. an API in the form of the SAML reference implementation created by OASIS
A developer is creating an XML schema using the xsd:all operator.
Given the code:
xmlns:tns="http://sun.cert/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Which two element definitions, when inserted into the given schema fragment, result in a correct schema type definition? (Choose two.)
A.
B.
C.
D.
E.
F.