I am using JBoss 4.2.3, with Java 1.5.
I have a war that is bundled inside an EAR, this context path is: /testWeb
This is defined in the jboss-web.xml under the WEB-INF directory of the war.
<jboss-web> <security-domain>java:/jaas/aipDBCheck</security-domain> <context-root>/testWeb</context-root> </jboss-web>
@javax.jws.WebService(
targetNamespace =
"http://xxx.xxx.xxx.com/"
,
serviceName =
"SupplierAccessService"
,
portName =
"SupplierAccessPort"
,wsdlLocation = "META-INF/wsdl/SupplierAccessService.wsdl"
)
@Stateless
@WebContext(contextRoot = "/testWeb", urlPattern = "/SupplierAccessPort", authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
@RolesAllowed("supplier")
@SecurityDomain("aipDBCheck")
public class SupplierAccessDelegate implements SupplierAccessDelegateLocal,
SupplierAccessDelegateRemote {