[
https://issues.jboss.org/browse/WFLY-1049?page=com.atlassian.jira.plugin....
]
Marek Kopecký updated WFLY-1049:
--------------------------------
Description:
Currently, in our application we use @WebContext to set a different contextRoot for
JAX-WS. For example:
{code:java}
@Stateless
@SecurityDomain("test2")
@WebService(name = "HelloSoap", portName = "HelloSoapPort",
serviceName = "HelloSoap", targetNamespace = "http://com.test")
@WebContext(contextRoot = "/ws", urlPattern = "/HelloSoap",
secureWSDLAccess = false, authMethod = "BASIC", transportGuarantee =
"NONE")
public class HelloSoap { ... }
{code}
We would like to have an equivalent annotation for JAX-RS? It is required whenever a web
app uses FORM_AUTH and there exists web services (JAX-WS and JAX-RS), inside of the same
package, using as BASIC_AUTH.
Thankyou in advance,
Fernando Rubbo
was:
Currently, in our application we use @WebContext to set a different contextRoot for
JAX-WS. For example:
@Stateless
@SecurityDomain("test2")
@WebService(name = "HelloSoap", portName = "HelloSoapPort",
serviceName = "HelloSoap", targetNamespace = "http://com.test")
@WebContext(contextRoot = "/ws", urlPattern = "/HelloSoap",
secureWSDLAccess = false, authMethod = "BASIC", transportGuarantee =
"NONE")
public class HelloSoap { ... }
We would like to have an equivalent annotation for JAX-RS? It is required whenever a web
app uses FORM_AUTH and there exists web services (JAX-WS and JAX-RS), inside of the same
package, using as BASIC_AUTH.
Thankyou in advance,
Fernando Rubbo
Add equivalent @WebContext for JAX-RS?
--------------------------------------
Key: WFLY-1049
URL:
https://issues.jboss.org/browse/WFLY-1049
Project: WildFly
Issue Type: Feature Request
Components: REST
Reporter: Fernando Rubbo
Priority: Major
Labels: BASIC_AUTH, FORM_AUTH, JAX-RS,
Currently, in our application we use @WebContext to set a different contextRoot for
JAX-WS. For example:
{code:java}
@Stateless
@SecurityDomain("test2")
@WebService(name = "HelloSoap", portName = "HelloSoapPort",
serviceName = "HelloSoap", targetNamespace = "http://com.test")
@WebContext(contextRoot = "/ws", urlPattern = "/HelloSoap",
secureWSDLAccess = false, authMethod = "BASIC", transportGuarantee =
"NONE")
public class HelloSoap { ... }
{code}
We would like to have an equivalent annotation for JAX-RS? It is required whenever a web
app uses FORM_AUTH and there exists web services (JAX-WS and JAX-RS), inside of the same
package, using as BASIC_AUTH.
Thankyou in advance,
Fernando Rubbo
--
This message was sent by Atlassian Jira
(v7.12.1#712002)