*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41040
    
  43
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JAX-WS Handler
 
Similar Threads
jax-ws2.0 wsdl schema validation using bottom-up approach
Message Handlers and Axis
Invoking a Handler specific to a operation in axis2
JAX-RPC web service soap message handler issues
Deploy JAXWS (Mustang) WS to Tomcat?