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.
I resolved the issue by replacing
<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
to
<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
http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With