SOAP 1.2 Test
A SOAP message is an ordinary XML document but it follows some rules. Which of the following are correct regarding SOAP message architecture?
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?
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 ...
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?
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.?
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.?
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?
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?
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...
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...
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?
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.
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?
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...
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...
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...
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...
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...
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...
Read the following SOAP message: <s:Envelope xmlns:s="..."> <s:Body> <s:Fault> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acme...
Read the following SOAP message: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acm...
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...
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...
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...
Read the following statements: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acme....
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...
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...
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...
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...
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?
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?
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?
SOAP uses messages for client-server communication. Which of the following is correct for SOAP messages?
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?
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...
There is an improper application in the Section 5 encoding style rules. Which of the following type of SOAP Faults occurs in this scenario?
Version 1.2 of the SOAP specifications introduced some new implementations. Which of the following implementations are new to the version 1.2 specifications?
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...
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...
Which of following is the correct position of the header in a SOAP message?
Which of the following are basic parts of the SOAP message architecture?
Which of the following are mandatory in a message of SOAP version 1.1?
Which of the following are true for packaging an RPC request in a SOAP envelope?
Which of the following are used for data representation in multiple-referenced accessors?
Which of the following attributes indicates whether an accessor contains a null value?
Which of the following attributes manages an array in a SOAP message?
Which of the following can the header of a SOAP message contain?
Which of the following child elements of a Fault element is used to express application-specific details about the error that occurred?
Which of the following contains valid syntax for typing values?
Which of the following Fault types is used when an error, that cannot be directly linked to the processing of the message, occurs?
Which of the following header blocks authenticates the SOAP message?
Which of the following header blocks has been introduced in SOAP version 1.2 to specify which headers were not understood?
Which of the following is a multi-referenced accessor?
Which of the following is a single-referenced accessor?
Which of the following is an example of a sparse array in SOAP messages?
Which of the following is an example of referring an external document through a SOAP envelope?
Which of the following is an invalid child of a Fault element of a SOAP message?
Which of the following is an optional part in a message of SOAP version 1.1?
Which of the following is correct regarding SOAP Faults?
Which of the following is the base namespace for a SOAP message?
Which of the following is the correct format of the date datatype in an XML Schema?
Which of the following namespaces is used for messages in SOAP version 1.1?
Which of the following namespaces is used for messages in SOAP version 1.2?
Which of the following protocols cannot be used to exchange SOAP messages?
Which of the following represents a structure in SOAP messages?
Which of the following represents an array in SOAP messages?
Which of the following shows the�correct implementation of a single dimension array?
Which of the following string types is recommended by SOAP specifications Section 5 for SOAP messages?
Which of the following XML attributes defines exactly how native application and platform data types are to be encoded into a common XML syntax?
Which two among the following represent the correct syntax for a two dimensional array in a SOAP message?
Which type of array in SOAP messages represents a grid of values with specified dimensions that may or may not contain any data?
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...
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 ...
You can specify time zones in an XML Schema. Which of the following are specifying a time zone along with date?
you have a single-dimensional array of five elements, and you want to transmit only the last two. Which of the following achieves this?
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?
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...