[jbosstools-issues] [JBoss JIRA] (JBIDE-17859) XML validation error for a web service configuration XML file in a Seam project
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Mon Jul 14 15:02:30 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984900#comment-12984900 ]
Viacheslav Kabanovich edited comment on JBIDE-17859 at 7/14/14 3:02 PM:
------------------------------------------------------------------------
We do not add this schema to catalog at all. The example file does not specify schema location so that it cannot be resolved just by root element name.
If attributes
{code}
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd"
{code}
are added to the root element, schema is correctly loaded from url.
was (Author: scabanovich):
We do not add this schema to catalog at all. The example file does not specify schema location so that it cannot be resolved just by root element name.
If attributes
{code}
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://www.oracle.com/webfolder/technetwork/jsc/xml
/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd"
{code}
are added to the root element, schema is correctly loaded from url.
> XML validation error for a web service configuration XML file in a Seam project
> -------------------------------------------------------------------------------
>
> Key: JBIDE-17859
> URL: https://issues.jboss.org/browse/JBIDE-17859
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices, xml-structured-editor
> Environment: JBDS 8.0.0.Beta3
> Reporter: Ron Šmeral
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.0.CR1
>
>
> {noformat}
> cvc-elt.1: Cannot find the declaration of element 'handler-chains'.
> soap-handlers.xml
> /seambay-ejb/src/main/resources/org/jboss/seam/example/seambay
> line 2
> XML Problem
> {noformat}
> The file is valid and satisfies the webservices schema in the javaee namespace: http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
> <handler-chain>
> <handler>
> <handler-name>SOAP Request Handler</handler-name>
> <handler-class>org.jboss.seam.webservice.SOAPRequestHandler</handler-class>
> </handler>
> </handler-chain>
> </handler-chains>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list