• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Whizlabs Question about handler elemet

 
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.
 
It's never done THAT before. Explain it to me tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic