user manual
90 BES Developer’s Guide
Web Service providers
■
className: The name of the EJB remote interface.
■
allowedMethods: The methods that are allowed to be invoked on this EJB,
separated by spaces. The EJB can have more methods than listed here;
the methods listed here are available for remote invocation.
Example:
<service name="Animal" provider="java:EJB">
<parameter name="beanJndiName" value="Animal"/>
<parameter name="homeInterfaceName"
value="com.borland.examples.webservices.ejb.AnimalHome"/>
<parameter name="className"
value="com.borland.examples.webservices.ejb.Animal"/>
<parameter name="allowedMethods" value="talk sleep"/>
</service>
Java:VISIBROKER provider
This provider assumes that the class serving the web service is a Visibroker
server. When a web service request arrives, this provider:
1 Initializes the ORB.
2 Locates the CORBA object using "objectName" and "locateUsing"
properties.
3 Invokes the specified method on the CORBA stub.
The parameters are:
■
objectName: The name of the object. This is a mandatory parameter.
■
locateUsing: This parameter specifies which mechanism the provider uses
to locate the object.










