Cannot find declaration of element handler-chains Jboss Developer Studio

Discussão em 'StackOverflow' iniciado por Stack, Junho 30, 2021.

  1. Stack

    Stack Membro Participativo

    I have a handler-chain configuration for my Webservice handler

    At my Webservice class I have;

    @HandlerChain(file = "jaxws-handlers-server.xml")
    public class RoleMemberServiceSoap11Impl{...}


    and my jaxws-handlers-server.xml is ;

    <handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <handler-chain>
    <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
    <handler>
    <handler-name>TransactionBridgeHandler</handler-name>
    <handler-class>org.jboss.jbossts.txbridge.inbound.JaxWSTxInboundBridgeHandler
    </handler-class>
    </handler>
    <handler>
    <handler-class>com.arjuna.mw.wst11.service.JaxWSHeaderContextProcessor
    </handler-class>
    </handler>
    </handler-chain>
    </handler-chains>


    In that xml file i got the following error for element.

    Cannot find declaration of element handler-chains


    I ve searched and tried various workaround about changing xmlns:xsd urls. Also I tried the workaround that given at https://issues.jboss.org/browse/JBIDE-17859

    but that does not help.

    IDE : Jboss Developer Studio.

    Project: Dynamic Web Project 2.4

    Server Jboss 6.1+

    Java : 1.6

    Any suggestions will be appreciated.

    Thanks.

    Continue reading...

Compartilhe esta Página