# Tag Reference

# Tag Reference for @jboss-net

Tags for creation of jboss.net specific web service resources

Class Level Tags

@jboss-net.web-service
@jboss-net.authentication
@processEntities
@jboss-net.authorization
@jboss-net.xml-schema

Method Level Tags

@jboss-net.web-method

Field Level Tags

# Tag Usage, Class Level (@jboss-net)

## @jboss-net.web-service (0..1)

Will mark this class as a web-service endpoint.

Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
urn | text |  | The name of the web service | true
expose-all | text |  | If present, all methods will be exposed, vs. individually specifying each method to be exposed. | false
scope | text |  | Only useful for stateful session beans. Will set the caching policy of the web service endpoint. | false

## @jboss-net.authentication (0..1)

Enables authentication mapping from web service transport to JBoss security.

Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
securityDomain | text |  | Use the security domain located in JNDI under java:/jaas/xxx to authenticate against | true

## @processEntities (0..1)

Includes a transaction handler into the services request/response flow to allow for direct entity bean (de-)serialization.

## @jboss-net.authorization (0..1)

Enables authentication mapping from web service transport to JBoss security.

Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
securityDomain | text |  | Use the security domain located in JNDI under java:/jaas/xxx to authenticate against | true
roles-allowed | text |  | list of roles which should be allowed to perform the call | false
roles-denied | text |  | list of roles which should be denied to perform the call | false

## @jboss-net.xml-schema (0..1)

Will expose the marked class as (de-)serializable xml structure.

Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
urn | text |  | The name of the xml type | true
data-object | bool | Only EntityBeans. | Whether the entities data-object or the bean itself should be used. | false

# Tag Usage, Method Level (@jboss-net)

## @jboss-net.web-method (0..1)

Will expose the marked method as a web-service operation.

Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
returnQName | text |  | Specifies the qname of the result. | false