[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3286) Wrong "Key Type"

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Sun Nov 30 02:49:38 EST 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12440489#action_12440489 ] 

Juergen Zimmermann commented on JBIDE-3286:
-------------------------------------------

First of all: the new entries regarding DTD are working fine! For instance, the problems regarding jboss.xml, jboss-app.xml, jboss-web.xml and so on are gone. Thanks to Rob!

However, the 2 new entries regarding XML schema are NOT working. I'll attach 2 screenshots:
1) "persistence.xml" shows that the "Key Type" within Preferences > XML > XML Catalog is "Namespace Name"
2) "jbossws" shows that both jboss-wsse-server.xml and standard-jaxws-endpoint-config.xml are claiming that "No grammar constraints (DTD or XML schema) detected for the document." Both catalog entries have the "Key Type": "Schema Location" instead of "Namespace Name" as it is provided for persistence.xsd

Here is the contents of jboss-wsse-server.xml:

<?xml version="1.0"?>
<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>
	</config>
</jboss-ws-security>


Here is the contents of standard-jaxws-endpoint-config.xml:
<?xml version="1.0"?>
<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
	          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	          xmlns:javaee="http://java.sun.com/xml/ns/javaee"
	          xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
	<endpoint-config>
		<config-name>Standard WSSecurity Endpoint</config-name>
		<post-handler-chains>
			<javaee:handler-chain>
				<javaee:protocol-bindings>
					##SOAP11_HTTP
				</javaee:protocol-bindings>
				<javaee:handler>
					<javaee:handler-name>
						WSSecurity Handler
					</javaee:handler-name>
					<javaee:handler-class>
						org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer
					</javaee:handler-class>
				</javaee:handler>
			</javaee:handler-chain>
		</post-handler-chains>
	</endpoint-config>
</jaxws-config>


> Wrong "Key Type"
> ----------------
>
>                 Key: JBIDE-3286
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3286
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.0.0.beta1
>         Environment: Eclipse 3.4.1, WTP 3.0.3, JBossTools 3.0beta1
>            Reporter: Juergen Zimmermann
>            Assignee: Feng Qian
>             Fix For: 3.0.0.cr1
>
>
> There are 2 wrong entries in the XML catalog:
> 1) Key "http://www.jboss.com/ws-security/config". This should be "http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd"
> 2) Key "urn:jboss:jaxws-config:2.0". This should be "jaxws-config_2_0.xsd"
> Both keys have the "Key Type": "Schema Location". The key type should be "Namespace Name".
> Have a look at other entries regarding xsd files e.g. http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list