Steve Cohen [http://community.jboss.org/people/stevecoh4] created the discussion
"Where is jboss-ws-security_1_0.xsd" To view the discussion, visit: http://community.jboss.org/message/638742#638742 -------------------------------------------------------------- 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 > http://www.jboss.com/ws-security/config" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance > http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" http://www.jboss.com/ws-security/config > http://www.jboss.com/ws-security/config > http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd > 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 > 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 > http://www.jboss.com/ws-security/config":timestamp, " > http://www.jboss.com/ws-security/config > http://www.jboss.com/ws-security/config":encryption, " > http://www.jboss.com/ws-security/config > 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. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/638742#638742] Start a new discussion in JBoss Web Services at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
