[
https://jira.jboss.org/jira/browse/JBWS-1813?page=com.atlassian.jira.plug...
]
Marek Lange commented on JBWS-1813:
-----------------------------------
This issue is still not fixed. We tested it on 2.0.1, 2.0.3 and 3.0.2-Native and the
<context-root> in jboss.xml does not generate the correct webservice endpoint url. I
had a look at the testcase and saw that it is not included in the 2.0.3GA Release. The
testcase org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase does not work. The only way to
configure the endpoint url independently from the deployment names is the use of the
org.jboss.wsf.spi.annotation.WebContext annotation:
@WebContext( contextRoot = "/user/msisdn/roaming" ,
urlPattern="/RoamingService" )
This leads to correct endpoints.
What is annoying on this bug is that it is declared as fixed in the 2.0.3 release notes
and still does not seem to work. It is easily reproducible with the ear file of the
testcase (jaxws-jbws1813.ear) which generates the following URLs:
Endpoint Name jboss.ws:context=jaxws-jbws1813-jaxws-jbws1813,endpoint=Endpoint
Endpoint Address
http://127.0.0.1:8080/jaxws-jbws1813-jaxws-jbws1813?wsdl
According to the testcast the Endpoint should be this:
http://127.0.0.1:8080/test-context?wsdl
Please reopen this bug and fix it.
context-root in jboss.xml is ignored
------------------------------------
Key: JBWS-1813
URL:
https://jira.jboss.org/jira/browse/JBWS-1813
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-jaxrpc, jbossws-native
Affects Versions: jbossws-2.0.1
Reporter: Thomas Diesler
Assignee: Heiko Braun
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira