[XDoclet-JIRA] Created: (XDT-1693) jboss-webservices.ent causes jboss.xml to be invalid

"Ana Tudosa (JIRA)" <[email protected]> Wed, 6 Feb 2008 05:42:42 -0600 (CST)
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <102007634.1202298162608.JavaMail.j2ee@atlassian01.managed.contegix.com>
jboss-webservices.ent causes jboss.xml to be invalid
----------------------------------------------------

                 Key: XDT-1693
                 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1693
             Project: XDoclet
          Issue Type: Bug
          Components: JBoss Module
    Affects Versions: 1.2.3
            Reporter: Ana Tudosa
            Assignee: xdoclet-devel (Use for new issues)


Using a jboss-webservices merge file with this content:

      <webservices>
		<context-root>MyContext</context-root>
		 <webservice-description>
                                 <webservice-description-name>MyWebService</webservice-description-name>
                                 <wsdl-publish-location>file:/opt/webservices</wsdl-publish-location>
                 </webservice-description>
     </webservices>

makes the jboss.xml file look like this: 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

<jboss>

   <enterprise-beans>

   
    ...............................
    
      <webservices>
		<context-root>EOMBeanService</context-root>
		      <webservice-description>
         <webservice-description-name>MyWebService</webservice-description-name>
         <wsdl-publish-location>file:/opt/webservices</wsdl-publish-location>
        </webservice-description>
     </webservices>

   </enterprise-beans>

    ..........................................

</jboss>

notice that the webservices tag is missplaced, it should be out of enterprise-beans tag. 

This can be easily fixed by changing the jboss_xml.xdt files in the jboss module



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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/