Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAPHandler compilation problem for weblogic webservice Implementation

 
Chitra Jagannathan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic