A SOAP message is an ordinary XML document but it follows some rules. Which of the following are correct regarding SOAP message architecture?
It requires an Envelope element that identifies the XML document as a SOAP message 0%
It requires a Header element that contains header information 0%
It requires an optional Body element that contains call and response information 0%
It requires an optional Fault element that provides information about errors that occurred while processing the message 0%
A SOAP message is based on XML. Infact, SOAP follows all validation rules from XML specifications. On which of the following are SOAP messages based?
Schema 0%
DTD 0%
SAX2 0%
XSLT 0%
A SOAP message may travel from a sender to a receiver by passing different endpoints along the message path. Not all parts of the SOAP message may be intended for the ultimate endpoint of the SOAP ...
AuthHeader 0%
Actor 0%
Destination 0%
Path 0%
A subroutine call is going to be XML encoded for SOAP by passing two parameters using the same memory location. How will this be implemented?
By using a single-referenced accessor with id and href 0%
By using a single-referenced accessor without id and href 0%
By using a multi-referenced accessor with id and href 0%
By using a multiple-referenced accessor without id and href 0%
ABC Corp., a client of PremiumSoft, uses SOAP 1.1 specifications whereas PremiumSoft uses SOAP 1.2 specifications. What will be the result when PremiumSoft sends a message to ABC Corp.?
The message will be received successfully 0%
It will either process it according to the SOAP Version 1.1 specifications or trigger a 'Version mismatch' error 0%
An 'Invalid message' error will be triggered 0%
A partial message will be received 0%
ABC Corp., a client of PremiumSoft, uses SOAP 1.2 specifications whereas PremiumSoft uses SOAP 1.1 specifications. What will be the result when PremiumSoft sends a message to ABC Corp.?
The message will be received successfully 0%
An 'Invalid message' error will be triggered 0%
A 'Version mismatch' error will be triggered 0%
A partial message will be received 0%
An error message from a SOAP message is carried inside a Fault element. How many times can a Fault element be used in a single SOAP message?
Once 0%
4 times 0%
Any number of times 0%
Once in SOAP 1.1 and any number of times in SOAP 1.2 0%
An XML schema describes the structure of an XML document. The purpose of an XML Schema is to define the legal building blocks of an XML document. Which of the following are true about an XML Schema?
It defines elements that can appear in a document 0%
It defines attributes that can appear in a document 0%
It defines the order of child elements 0%
It defines default and fixed values for elements and attributes 0%
All of the above are true 0%
As part of the overall specification, Section 5 of the SOAP standard introduces a concept known as encoding styles. An encoding style is a set of rules that define exactly how native application an...
Any where in the document 0%
Only in the body 0%
Only in the header 0%
Only before the body 0%
None of the above 0%
Because of its pervasiveness on the Internet, HTTP is by far the most common transport used to exchange SOAP messages. Which of the following HTTP headers indicates the intent of the SOAP HTTP requ...
SOAPCall 0%
SOAPAction 0%
SOAPMethod 0%
SOAPMessage 0%
Encoding styles define how applications on different platforms share information. Which of the following is correct about data types of both applications while implementing encoding styles?
Data types in both applications must be common 0%
Data types in both applications might not be common 0%
Data types in both applications must be different 0%
None of the above 0%
Fill in the blank: A ________________ Array is a type of array in which only a part of the array is serialized into the SOAP envelope.
Half Serialized 0%
Partially Serialized 0%
Partially Transmitted 0%
Half Transmitted 0%
One of the greatest strengths of XML Schemas is the support for datatypes. Which of the following namespaces is used while creating elements and datatypes that are used to construct schemas?
http://www.w3.org/2001/XMLSchema 0%
http://www.w3.org/2001/schemaDataTypes 0%
http://www.w3.org/XMLTypes 0%
http://www.w3.org/XMLSchema 0%
PremiumSoft Web Service provides financial quotes. Function getQuote () returns a financial quote for a QuoteID. The message returned in getQuote contains invalid authentication credentials. Which...
MustUnderstand 0%
Server 0%
Client 0%
VersionMismatch 0%
None of the above 0%
Read the following code snippet of a SOAP message: <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap-envelope"> <s:Body> <n:getQuote xmlns:n="urn:QuoteService"> <symbol xsi:type="xsd:string"> Mi...
The namespace is incorrect 0%
The position of the Header is wrong 0%
The Body cannot contain the symbol element 0%
mustUnderstand is not an attribute of the transaction element 0%
The body cannot contain a symbol element 0%
The position of the Body element is wrong 0%
Read the following code snippet of a SOAP message: <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap/soap-envelope"> <s:Header> <m:transaction xmlns:m="soap-transaction" s:mustMatch="true"> <tra...
The namespace is incorrect 0%
The position of the Header element is wrong 0%
The body cannot contain a symbol element 0%
mustMatch is not a valid attribute 0%
Read the following snippet of a SOAP message: <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap/soapEnvelope"> <s:Header> <m:transaction xmlns:m="soap-transaction" s:mustUnderstand="true"> <tran...
The namespace is incorrect 0%
The position of the Header is wrong 0%
The Body cannot contain the symbol element 0%
mustUnderstand is not an attribute of the transaction element 0%
Read the following snippet: ... <xs:element name="person"> <xs:complexType> <xs:sequence> <xs:element name="firstname" type="xs:string"/> <xs:element name="lastname" type="xs:str...
All child elements of the person element may have any type of value 0%
The sequence of child elements of person may be in any order 0%
Any number of elements can be added after the lastname element 0%
None of the above 0%
Read the following snippet: <!-- Version 1.2 SOAP Envelope --> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <n:getQuote xmlns:n="urn:QuoteService"> <symbol xsi:type="x...
The header is missing 0%
The envelope namespace is incorrect 0%
The symbol element is not allowed in a version 1.2 SOAP envelope 0%
xsi:type is incorrect 0%
Read the following SOAP message: <s:Envelope xmlns:s="..."> <s:Body> <s:Fault> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acme...
faultcode 0%
faultstring 0%
detail 0%
None of the above 0%
Read the following SOAP message: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acm...
faultcode 0%
faultstring 0%
detail 0%
Faults 0%
None of the above 0%
Read the following statement regarding arrays in SOAP: Statement 1: A single-referenced accessor doesn't have an identity except as a child of its parent element. Statement 2: A multi-referenced a...
Statement 1 is true but statement 2 is false 0%
Statement 1 is false but statement 2 is true 0%
Both statements are true 0%
Both statements are false 0%
Read the following statements about SOAP datatypes: Statement 1: The datatypes supported by the SOAP encoding style are the datatypes defined by the "XML Schema data types" specification. Statemen...
Statement 1 is true but statement 2 is false 0%
Statement 2 is true but statement 1 is false 0%
Both statements are true 0%
Both statements are false 0%
Read the following statements about SOAP Faults: Statement 1: The SOAP fault structure is not allowed to express any information about which headers were not understood. Statement 2: The faultstri...
Statement 1 is true but statement 2 is false 0%
Statement 1 is false but statement 2 is true 0%
Both statements, statement 1 and statement 2 are true 0%
Both statements, statement 1 and statement 2 are false 0%
Read the following statements: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acme....
<s:Faults> 0%
<faultcode> 0%
<faultstring> 0%
None of the above 0%
Read the following statements: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <V:Upgrade xmlns:V="http://www.w3.org/2001/06/soap-upgrade"> <envelope qname="ns1:Envelop...
It upgrades the version of the SOAP specification at the client side 0%
It upgrades the version of the SOAP specification at the server side 0%
It tells the sender which version of SOAP it supports 0%
All of the above 0%
Read the following statements: <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap-envelope"> <s:Body> <n:getQuote xmlns:n="urn:QuoteService" s:encodingStyle="http://www.w3.org/2001/06/soap/encodi...
The envelope namespace is incorrect 0%
The encodingStyle namespace is incorrect 0%
The location of the symbol element is incorrect 0%
The location of the encodingStyle is incorrect 0%
None of the above 0%
Read the following statements: Address address = new Address( ); Person person = new Person( ); person.setAddress(address); The above code is creating two objects, one for the Address class and t...
<Person> <Address href="#address1" /> </Person> <Address id="address1" /> 0%
<Person> <Address/> </Person> <Address id="address1" /> 0%
<Person> <Address href="#address1" /> </Person> <Address>address1</Address> 0%
<Person> <Address href="address1" /> </Person> <Address id="address1" /> 0%
Read the following statements: Statement 1: Encoding styles define how applications on different platforms share information, even though they may not have common data types or representations. S...
Statement 1 is true but statement 2 is false 0%
Statement 2 is true but statement 1 is false 0%
Both statements are true 0%
Both statements are false 0%
SOAP defines four standard types of faults that belong to the http://www.w3.org/2001/06/soap-envelope namespace. Which of the following is an incorrect Fault code?
VersionMismatch 0%
MustUnderstand 0%
InvalidMessage 0%
Server 0%
Client 0%
None of the above 0%
SOAP defines four standard types of faults that belong to the http://www.w3.org/2001/06/soap-envelope namespace. Which of the following is correct regarding extensibility of those standard types?
Standard faults can be extended 0%
Standard faults cannot be extended 0%
Standard faults must be extended 0%
None of the above 0%
SOAP has become a new medium of method invocation. Business transactions are widely using SOAP to provide business information. Which of the following are correct about data types in SOAP?
Any data type of any programming language is supported in SOAP 0%
Datatypes are specified in the XML Schema specification 0%
Datatypes can be derived from the datatypes specified in the XML Schema specification 0%
All of the above 0%
SOAP uses messages for client-server communication. Which of the following is correct for SOAP messages?
SOAP messages are hardware specific 0%
SOAP messages are operating system specific 0%
SOAP messages are programming language specific 0%
None of the above 0%
The duration datatype is used to specify a time interval in an XML Schema. Which of the following indicates the number of years in an element of type duration?
nY 0%
cY 0%
YearCount 0%
Years 0%
None of the above 0%
The fundamental idea behind SOAP is that two applications, regardless of the operating system, programming language, or any other technical implementation detail, may openly share information using...
The types of information to be exchanged 0%
How the information is to be expressed as XML 0%
How to actually go about sending that information 0%
None of the above 0%
There is an improper application in the Section 5 encoding style rules. Which of the following type of SOAP Faults occurs in this scenario?
MustUnderstand 0%
Server 0%
Client 0%
VersionMismatch 0%
None of the above 0%
Version 1.2 of the SOAP specifications introduced some new implementations. Which of the following implementations are new to the version 1.2 specifications?
SOAP::Lite for Perl 0%
Apache SOAP Version 2.2 0%
Apache Axis 0%
None of the above 0%
When a SOAP message is sent from one application to another, there is an implicit requirement that the recipient must know how to process that message. If the recipient does not understand the mess...
mustUnderstand 0%
mustBeKnown 0%
understandable 0%
understand 0%
unKnownMessage 0%
mustMatch 0%
When applications report a version mismatch error back to the sender of the message, it may optionally include a header block that tells the sender which version of SOAP it supports. Which of the f...
Validate 0%
Upgrade 0%
Version 0%
Verifier 0%
Which of following is the correct position of the header in a SOAP message?
Only before the body 0%
Only after the body 0%
Only before the envelope 0%
Anywhere in the message 0%
Which of the following are basic parts of the SOAP message architecture?
Envelope 0%
Header 0%
Body 0%
Footer 0%
All of the above 0%
Which of the following are mandatory in a message of SOAP version 1.1?
Envelope 0%
Header 0%
Body 0%
None of the above 0%
Which of the following are true for packaging an RPC request in a SOAP envelope?
The method call is represented as a single structure with each in or in-out parameter modeled as a field in that structure 0%
The names and physical order of the parameters must correspond to the names and physical order of the parameters in the method being invoked 0%
The SOAP RPC conventions require the use of the SOAP Section 5 encoding style 0%
The SOAP RPC conventions require the xsi:type explicit data typing 0%
Which of the following are used for data representation in multiple-referenced accessors?
id 0%
href 0%
name 0%
description 0%
Which of the following attributes indicates whether an accessor contains a null value?
xsi:nil 0%
xsi:null 0%
xsi:nilValue 0%
xsi:nullValue 0%
Which of the following attributes manages an array in a SOAP message?
SOAP:array 0%
SOAP-ENC:arrayType 0%
SOAP-ENC:arrayElement 0%
SOAP:arrayElement 0%
Which of the following can the header of a SOAP message contain?
Data that by default is intended for the final destination 0%
Information to specify the contextual ID 0%
Authentication information 0%
All of the above 0%
Which of the following child elements of a Fault element is used to express application-specific details about the error that occurred?
Details 0%
Description 0%
Detail 0%
Comment 0%
Which of the following contains valid syntax for typing values?
<SOAP-ENC:int>36</SOAP-ENC:int> 0%
<value xsi:type="xsd:int">36</value> 0%
<value xsi:type="int">36</value> 0%
All of the above 0%
Which of the following Fault types is used when an error, that cannot be directly linked to the processing of the message, occurs?
MustUnderstand 0%
Server 0%
Client 0%
None of the above 0%
Which of the following header blocks authenticates the SOAP message?
AuthHeader 0%
Authenticate 0%
HeaderAuthentication 0%
AuthenticateHeader 0%
Which of the following header blocks has been introduced in SOAP version 1.2 to specify which headers were not understood?
Validate 0%
MustUnderstand 0%
Misunderstood 0%
Upgrade 0%
None of the above 0%
Which of the following is a multi-referenced accessor?
<people> <person> <address> <street>111 First Street</street> <city>New York</city> <state>New York</state> </address> </person> </people> 0%
<people> <person name='joe smith'> <address href='#address-1' </person> <person name='john doe'> <address href='#address-1' </person> </people> <address id='address-1'> <street>111 First Street</street> <city>New York</city> <state>New York</state> </address> 0%
<people> <person name='joe smith'> <address> <street>111 First Street</street> <city>New York</city> <state>New York</state> </address> </person> </people> 0%
None of the above 0%
Which of the following is a single-referenced accessor?
<people> <person name='joe smith'> <address> <street>111 First Street</street> <city>New York</city> <state>New York</state> </address> </person> </people> 0%
<people> <person name='joe smith'> <address href='#address-1' </person> <person name='john doe'> <address href='#address-1' </person> </people> <address id='address-1'> <street>111 First Street</street> <city>New York</city> <state>New York</state> </address> 0%
<people> <person name='joe smith'> <address href='#address-1' </person> <person name='john doe'> <address href='#address-1' </person> </people> 0%
None of the above 0%
Which of the following is an example of a sparse array in SOAP messages?
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[10,10]"> <name SOAP-ENC:position="[2,5]">data</name> <name SOAP-ENC:position="[5,2]">data</name> </names> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[5]" SOAP-ENC:offset="[2]"> <name>Item 4</name> <name>Item 5</name> </names> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[5]"> <name>Item 4</name> <name>Item 5</name> </names> 0%
None of the above 0%
Which of the following is an example of referring an external document through a SOAP envelope?
<person name='joe smith'> <address href='http://acme.com/data.xml#joe_smith' /> </person> 0%
<person name='joe smith'> <address extern='http://acme.com/data.xml#joe_smith' /> </person> 0%
<person name='joe smith'> <address doc="d:HRpersonaddressjoesmith.xml" /> </person> 0%
<person name='joe smith'> <address extern="d:HRpersonaddressjoesmith.xml" /> </person> 0%
Which of the following is an invalid child of a Fault element of a SOAP message?
faultcode 0%
faultstring 0%
faultactor 0%
faultdescription 0%
Which of the following is an optional part in a message of SOAP version 1.1?
Envelope 0%
Header 0%
Body 0%
None of the above 0%
Which of the following is correct regarding SOAP Faults?
They communicate information about errors that may have occurred during the processing of a SOAP message 0%
They generate a fault during the processing of a SOAP message 0%
They describe those faults which are not handled 0%
None of the above 0%
Which of the following is the base namespace for a SOAP message?
http://www.w3.org/2001/06/soap-message 0%
http://www.w3.org/2001/06/soap-envelope 0%
http://www.w3.org/2001/06/soap/message 0%
http://www.w3.org/2001/06/soap/soapEnvelope 0%
Which of the following is the correct format of the date datatype in an XML Schema?
MM-DD-YYYY 0%
DD-MM-YYYY 0%
YYYY-MM-DD 0%
YYYY-DD-MM 0%
Which of the following namespaces is used for messages in SOAP version 1.1?
http://schemas.xmlsoap.org/soap/envelope/ 0%
http://schemas.xmlsoap.org/soap-envelope 0%
http://schemas.xmlsoap.org/2001/06/soap/envelope/ 0%
http://schemas.xmlsoap.org/2001/06/soap-envelope 0%
Which of the following namespaces is used for messages in SOAP version 1.2?
http://schemas.xmlsoap.org/soap/envelope/ 0%
http://schemas.xmlsoap.org/soap-envelope 0%
http://schemas.xmlsoap.org/2001/06/soap/envelope/ 0%
http://schemas.xmlsoap.org/2001/06/soap-envelope 0%
Which of the following protocols cannot be used to exchange SOAP messages?
HTTP 0%
SMTP 0%
POP3 0%
MQSeries 0%
Jabber 0%
None of the above 0%
Which of the following represents a structure in SOAP messages?
<person> <firstname>Joe</firstname> <lastname>Smith</lastname> </person> 0%
<people> <person name='joe smith'/> <person name='john doe'/> </people> 0%
<people> <person name='joe smith'> <designation/> </person> <person name='john doe'> <designation/> </person> </people> 0%
None of the above 0%
Which of the following represents an array in SOAP messages?
<person> <firstname>Joe</firstname> <lastname>Smith</lastname> </person> 0%
<people> <person name='joe smith'/> <person name='john doe'/> </people> 0%
<people> <person name='joe smith'> <designation/> </person> <person name='john doe'> <designation/> </person> </people> 0%
None of the above 0%
Which of the following shows the�correct implementation of a single dimension array?
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="string(4)"> <name xsi:type="xsd:string">a1d1</name> <name xsi:type="xsd:string">a2d1</name> </names> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string(4)"> <name xsi:type="xsd:string">a1d1</name> <name xsi:type="xsd:string">a2d1</name> </names> 0%
<name xsi:type="xsd:string">a1d1</name> <name xsi:type="xsd:string">a2d1</name> </names> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[4]"> <name xsi:type="xsd:string">a1d1</name> <name xsi:type="xsd:string">a2d1</name> </names> 0%
Which of the following string types is recommended by SOAP specifications Section 5 for SOAP messages?
Base16 0%
Base32 0%
Base48 0%
Base64 0%
Which of the following XML attributes defines exactly how native application and platform data types are to be encoded into a common XML syntax?
encoding 0%
encodingType 0%
encodingStyle 0%
encodingFormat 0%
Which two among the following represent the correct syntax for a two dimensional array in a SOAP message?
<data xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2][]"> 0%
<data xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2,2]"> 0%
<data xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2],[2]"> 0%
None of the above 0%
Which type of array in SOAP messages represents a grid of values with specified dimensions that may or may not contain any data?
Partially Transmitted Array 0%
Sparse Array 0%
Incomplete Array 0%
Typed Array 0%
You are designing an XML Schema and you have a numeric element 'NegativeBalance'. You want to store negative values in this element along with zero. Which of the following numeric datatypes will yo...
negativeInteger 0%
nonPositiveInteger 0%
unsignedInt 0%
nonnegativeInteger 0%
You are designing an XML Schema and you want to prohibit line feeds, carriage returns, tabs, leading and trailing spaces, and multiple spaces from an element. Which of the following datatypes will ...
String 0%
normalizedString 0%
token 0%
trimmedString 0%
You can specify time zones in an XML Schema. Which of the following are specifying a time zone along with date?
<start>2002-09-24Z</start> 0%
<start type="zone">2002-09-24</start> 0%
<start>2002-09-24+06:00</start> 0%
<start>2002-09-24-06:00</start> 0%
you have a single-dimensional array of five elements, and you want to transmit only the last two. Which of the following achieves this?
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[3-5]"> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[3]" SOAP-ENC:offset="[2]"> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[5]" SOAP-ENC:offset="[2]"> 0%
<names xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[5][2]"> 0%
You have an element named 'comments'. You want to prohibit all line feeds, carriage returns, and tab characters. Which of the following will do it?
<xs:element name="comments" type="xs:String"/> 0%
<xs:element name="comments" type="xs:normalizedString"/> 0%
<xs:element name="comments" type="xs:TrimmedString"/> 0%
<xs:element name="comments" type="xs:OnlyString"/> 0%
You have users from two different countries- England and Norway. You would like the ability to let the user choose whether he or she would like to use the Norwegian element names or the English ele...
<xs:element name="name" type="xs:string"/> <xs:element name="navn" substitutionGroup="name"/> 0%
<xs:element name="name" type="xs:string"/> <xs:element name="navn" substitution="name"/> 0%
<xs:element name="name" type="xs:string"/> <xs:element name="navn" Group="name"/> 0%
<xs:element name="name" type="xs:string"/> <xs:element name="navn" type="xs:string"/> 0%