UpTest > Internet Programming > SOAP 1.2 Test

Test: SOAP 1.2 Test

Question 7: Prev Next
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">
Mistristic
</symbol>
</n:getQuote>
<s:Header>
<m:transaction xmlns:m="soap-transaction"
s:mustUnderstand="true">
<transactionID>1234</transactionID>
</m:transaction>
</s:Header>
</s:Envelope>

Identify the error in the code.
mustUnderstand is not an attribute of the transaction element
The position of the Body element is wrong
The body cannot contain a symbol element
The namespace is incorrect
Please login to submit your answer.