WAS v8.5 > Reference > SetsEJB endpoint URL syntax
An EJB endpoint URL is used to access a web service with the EJB RMI-IIOP transport. The URL specifies the EJB endpoint, including the EJB home class, the EJB JNDI name, and optional properties.
IBM WebSphere Application Server supports the JAX-WS programming model and JAX-RPC. JAX-WS is the next generation web services programming model extending the foundation provided by JAX-RPC. Using the strategic JAX-WS programming model, development of web services and clients is simplified through support of a standards-based annotations model. Although JAX-RPC and applications are still supported, take advantage of the easy-to-implement JAX-WS programming model to develop new web services applications and clients.
An EJB endpoint URL has the following format:
wsejb:/[classname]?<property>=<value>&<property>=<value>&...
Where:
- wsejb is the transport type
- classname is the name of the home interface class associated with the EJB to be invoked
- property and value pairs represent the set of required and optional properties. These properties are used to set certain values in the EJB endpoint URL. The various properties and definitions are described in the table.
JNDI-related properties. Use these properties to specify the JNDI information for the EJB endpoint URL.
Property name Description jndiName Specifies the JNDI name of the EJB. Required. initialContextFactory Name of the JNDI initial context factory. This property is optional jndiProviderURL Specifies the JNDI provider URL. This property is optional.
Related
Use WSDL EJB bindings to invoke an EJB from a JAX-RPC Web services client