• Post Reply Bookmark Topic Watch Topic
  • New Topic

Will a SOAPFault from handler will be mapped into wsdl?  RSS feed

 
Vicky Roy
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have another question.

Lets say in wsdl, only input/output messaage is mentioned for a porttype. Then is that true that this operation can't throw any exception?
As far as I know that exception can be thrown from handlers also, in that case they don't get mapped into wsdl but they are there.
Am I right?
eg. for the below portType:
<portType name="MyMathLib"><operation name="incCtr"><input
message="tns:incCtr"/></operation></portType>
Which two statements are true about this Web service? (Choose two.)

A. This is an asynchronous receive.
B. This indicates a one-way message exchange pattern
C. The client must use SOAPFaultException to display any errors.
D. It must send a SOAP fault back to the sender.
E. It must NOT send a SOAP fault back to the sender.
Answer: B,E Why B,E? Can't it throw soapfault from handler?


Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!