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
Joined: Jul 24, 2003
Posts: 260
posted
0
No one knows , I believe most of the web services are using Hander configurations.
Regards,
Vijay Kumar
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
0
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.