This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes SOAPHandler compilation problem for weblogic webservice Implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPHandler compilation problem for weblogic webservice Implementation" Watch "SOAPHandler compilation problem for weblogic webservice Implementation" New topic
Author

SOAPHandler compilation problem for weblogic webservice Implementation

Chitra Jagannathan
Greenhorn

Joined: Apr 21, 2009
Posts: 8
I have created below classes for weblogic webservice.
- service class
referred : http://docs.oracle.com/cd/E12840_01/wls/docs103/webserv_rpc/use_cases.html
- related object class
- Handler class
referred : http://docs.oracle.com/cd/E12840_01/wls/docs103/webserv_adv/handlers.html#wp267016

- handler-chain.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- first approach as per doc-->
<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee">
<handler-chain>
<handler>
<handler-class>examples.webservices.handler.MessageInOutHandler</handler-class>
</handler>
</handler-chain>
</handler-chains>

- Build.xml

Problem: When I run the ant build-service I get the below error :

[jwsc] C:\Indigo_workspace\CBSWebservice\src\examples\webservices\complex\ComplexImpl.java 33:9
[jwsc] [ERROR] - Handler chain file validation error for file: file:/C:/Indigo_workspace/CBSWebservice/src/examples/webservices/c
omplex/handler-chain.xml. C:\Indigo_workspace\CBSWebservice\src\examples\webservices\complex\handler-chain.xml:0:
error: The document
is not a handler-config@http://www.bea.com/xml/ns/jws: document element mismatch got handler-chains@http://java.sun.com/xml/ns/javaee

[jwsc] [JAM] Warning: failed to resolve class com.bea.xml.XmlObject
[jwsc] [JAM] Warning: failed to resolve class javax.xml.rpc.holders.Holder


Please help out if you know the solution.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAPHandler compilation problem for weblogic webservice Implementation
 
Similar Threads
JAX-WS handlerchain annotaion
Message Handlers and Axis
HandlerChain annotation name attribute deprecated.
what is the role or need of weblogic.xml file inside weblogic server
JSTL issue with Weblogic Server