[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1813) context-root in jboss.xml is ignored

William DeCoste (JIRA) jira-events at lists.jboss.org
Wed Jan 16 13:16:19 EST 2008


    [ http://jira.jboss.com/jira/browse/JBWS-1813?page=comments#action_12395372 ] 
            
William DeCoste commented on JBWS-1813:
---------------------------------------

We use jbossxb to parse the metadata - the classes are in org.jboss.ejb3.metamodel package. There are handlers that use this package to merge the xml based metadata into the annotation based metadata. The xml is essentially turned into annotations so that we can query simply for annotations. You can call EJBContainer.resolveAnnotation(..) to retrieve whatever metadata you want based on the params.

Also, EJBContainer has
EnterpriseBean getXml()

which returns all of the xml metadata represented as our metadata object model for the bean corresponding to the container.

We should be parsing the webservices metadata and populating the object model properly as this was working for jbossws.1.2.1. However, if the metadata has changed, we'll likely have to make changes to the org.jboss.ejb3.metamodel package.



> context-root in jboss.xml is ignored
> ------------------------------------
>
>                 Key: JBWS-1813
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1813
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native, jbossws-jaxrpc
>    Affects Versions: jbossws-2.0.1
>            Reporter: Thomas Diesler
>         Assigned To: Carlo de Wolf
>             Fix For:  jbossws-native-2.0.3
>
>
> I want to override the default context root for my Web Services.
> So in my jboss.xml for (myEjb.jar) I have
> [QUOTE]
> <context-root>/webservices</context-root>
> [/QUOTE]
> inside the jboss->webservices node.
> But this doesn't seem to be working, the WSDLs are published at
> http://host/myApp-myEjb/

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

        



More information about the jbossws-issues mailing list