See the current org.jboss.test.ejb.metadata.test.EjbJar3xUnitTestCase.testServiceRefs in
the jbossxb project. A simple ejb-jar.xml with a session/service-ref is failing with:
anonymous wrote :
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException:
{http://java.sun.com/xml/ns/javaee}service-ref not found as a child of
{http://java.sun.com/xml/ns/javaee}session
| at
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:370)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:402)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:180)
| ... 23 more
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091969#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...