• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAX-WS Handler

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi experts,

I am getting given error during the publish of my EAR file. com.ibm.ws.exception.RuntimeError: javax.xml.ws.WebServiceException: The @HandlerChain configuration file WEB-INF/Handler.xml in the class com.hcl.ac.mercury.airprice.airprice.AirPriceWSSOAPImpl could not be loaded.

According to this Using handlers in JAX-WS Web services, handler chain configuration XML file must be in class path. I am putting the handler file under WEB-INF folder.

Please tell me why this Handler configuration file is not able to load . I am adding @HandlerChain annotation to my Service class after @javax.jws.WebService annotation. Do I need to put Handler.xml file some where else ?


Regards,
Vijay Kumar

 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No one knows , I believe most of the web services are using Hander configurations.

Regards,
Vijay Kumar
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does "I am putting the handler file under WEB-INF folder." mean - where exactly? WEB-INF is not in the classpath; WEB-INF/classes is, though. Also, you need a @HandlerChain annotation somewhere that points to the file.
 
Vijay Kumar
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks

I was putting the Handler.xml in WEB-INF/ which is not in class path.

--Vijay
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic