I create a jboss-wsse-server.xml with this content:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
<config>
<requires>
<username/>
</requires>
<authorize>
<unchecked/>
</authorize>
</config>
</jboss-ws-security>
In one validator (SlickEdit's) this fails with
http://www.jboss.com/ws-security\schema\jboss-ws-security_1_0.xsd' not found
Indeed that appears to be the case. That link gets a 404 in a Web Browser.
With Eclipse's validator, the error is different:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'username'. One of '{"http://www.jboss.com/ws-security/config":timestamp, "http://www.jboss.com/ws-security/config":encryption, "http://www.jboss.com/ws-security/config":signature}' is expected. jboss-wsse-server.xml /my-ejb/src/main/resources/META-INF line 7 XML Problem
Evidently, Eclipse is finding some version of the schema somewhere and looking at it. Where might that be? I've looked and can't find it. And what is the proper address that a jboss-wsse-server.xml should point to? Where can I go to find out what the legal schema is? This is for JBoss-AS-5.1.0.GA and the JBossWS native stack.
Thanks.