]
Thomas Haskes commented on JBIDE-17859:
---------------------------------------
For others that are looking for a solution this may be useful. I had the same problem
described above in eclipse, but the solution of adding the aforementioned attributes did
not work for me. Adding the attributes made the error disappear, but then my ear would not
deploy anymore, stating the error "Unexpected element: handler-chains" while
deploying.
Adding the following attributes worked though, the error in eclipse disappeard, ant the
ear did deploy again:
{code:xml}
<handler-chains
XML validation error for a web service configuration XML file in a
Seam project
-------------------------------------------------------------------------------
Key: JBIDE-17859
URL:
https://issues.jboss.org/browse/JBIDE-17859
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: upstream
Environment: JBDS 8.0.0.Beta3
Reporter: Ron Šmeral
Assignee: Viacheslav Kabanovich
Fix For: 4.2.0.CR1
{noformat}
cvc-elt.1: Cannot find the declaration of element 'handler-chains'.
soap-handlers.xml
/seambay-ejb/src/main/resources/org/jboss/seam/example/seambay
line 2
XML Problem
{noformat}
The file is valid and satisfies the webservices schema in the javaee namespace:
http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_web_...:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<handler-chains
xmlns="http://java.sun.com/xml/ns/javaee">
<handler-chain>
<handler>
<handler-name>SOAP Request Handler</handler-name>
<handler-class>org.jboss.seam.webservice.SOAPRequestHandler</handler-class>
</handler>
</handler-chain>
</handler-chains>
{code}