310-220 SCDJWS Braindump
ExamSoon 310-220 Exams
SUN Sun Certified Developer for Java Web Services
O rder : 310-220 Exam
Practice Exam: 310-220
Exam Number/Code: 310-220
Exam Name: Sun Certified Developer for Java Web Services
Questions and Answers: 250 Q&As
Free 310-220 Braindumps
Exam : SUN 310-220
Title : Sun Certified Developer for Java Web Services
1. Where is the Kerberos ticket embedded in a SOAP header processed?
A. Web service interaction layer
B. Web service processing layer
C. Web service interaction and processing layers
D. It is an HTML issue and it is NOT related to Web services.
Answer: A
2. A stateful Web service is implemented as an EJB based endpoint.
What are two ways to maintain that state? (Choose two.)
A. by using URL re-writing
B. by adding a session cookie to the HTTP headers
C. by adding a conversation id to the SOAP headers
D. by requiring clients to send a client id parameter to all methods
Answer: CD
3. Which SAAJ 1.2 type is used to represent SOAP message header blocks?
A. org.omg.dom.Document
B. javax.xml.soap.SOAPPart
C. javax.xml.soap.DetailEntry
D. javax.xml.soap.SOAPHeaderElement
Answer: D
4. Given:
<Schema targetNamespace="http://sun.cert/types"
xmlns:ns0="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://sun.cert/xsdTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<complexType name="Foo">
<sequence>
<!-- insert code here -->
</sequence>
</complexType>
</schema>
Assuming that no other namespace declarations exist, which two elements use the long type that is defined in the
http://www.w3.org/2001/XMLSchema namespace? (Choose two.)
A. <element name="length" type="long"/>
B. <element name="length type="xsi:long"/>
C. <element name="length" type="xsd:long"/>
D. <element name="length" type="ns0:long"/>
Answer: AD
5. Given:
<schema targetNamespace="http://sun.cert/types"
xmlns:sun="http://sun.cert/types"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:element name="Per