Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in mock question

Sandy Singh
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q) What will a SOAP receiver do upon receiving SOAP message containing DTD

1)The SOAP receiver will process the DTD and will validate SOAP message against it.

2)The SOAP receiver will generate a fault with faultcode of "Client.DTD".

3)The SOAP receiver will ignore the DTD declaration and will process the SOAP message normally.

4)The SOAP receiver will do nothing.

I think answer is 2.What will be the answer if SOAP message contains PI instead of DTD.

while googing I can find only this text.But I am not able to find about this in specifications.
(i) SOAP messages MUST NOT include DTDs, and SOAP receivers
MUST fault if they encounter a DTD
(ii) SOAP messages SHOULD NOT include PIs, and SOAP
receivers MUST ignore any PIs they encounter
WG agreed without dissent to this proposal and to close issue 4
using it
Marc action to produce resolution text.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic