This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAX-WS Handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS Handler" Watch "JAX-WS Handler" New topic
Author

JAX-WS Handler

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
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

Joined: Jul 24, 2003
Posts: 260
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: 41621
    
  55
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.


Ping & DNS - my free Android networking tools app
Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Thanks

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

--Vijay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS Handler