Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Whizlabs Question about handler elemet  RSS feed

 
Nagendra Inuguri
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which of the following elements are element children of <handler> element ?
A. Name
B. soap-role
C. port-name
D. context-param
E. port-component

Correct answers specified by exam: B and C

But when I checked the schema for handler element (http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd), there is no port-name element specified under handler element.

Also it doesn't make any sense to have port-name sub element for a handler as the handler is already a sub element of port-component.

Any thoughts on this?

Thanks,
Nagendra
 
Nagendra Inuguri
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah. I have just now seen the schema for specifying handlers in client. (http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd)

It does have a port-name sub elementas the handler in client is a direct child of service-ref element.

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