0 Replies Latest reply on Jul 21, 2006 2:43 PM by adamw

    Defining a POJO service through an XML descriptor

    adamw

      Hello,
      I'm trying to define an EJB3 POJO service through an XML descriptor. And almost everything works, with the exception of the <object-name> tag (I'm doing exactly as described in this tutorial: http://docs.jboss.org/ejb3/app-server/tutorial/service_deployment_descriptor/service.html. However, when I try to deploy, I get the following error message:

      org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'object-name'. One of '{"http://java.sun.com/xml/ns/javaee":interceptor-stack, "http://java.sun.com/xml/ns/javaee":proxy-factory, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":security-identity, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":security-domain, "http://java.sun.com/xml/ns/javaee":method-attributes, "http://java.sun.com/xml/ns/javaee":depends, "http://java.sun.com/xml/ns/javaee":ignore-dependency, "http://java.sun.com/xml/ns/javaee":aop-domain-name}' is expected. @ *unknown*[15,26]
      


      Should I replace the tag with something else? (the xml is correct according to the XSD)

      --
      Cheers
      Ada