Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

SOAPHandler compilation problem for weblogic webservice Implementation

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic