Extension SDK for BEA WebLogic Network Gatekeeper
The following section provides a description on how to create an example network simulator that uses the interfaces defined for the network node that communicates with the Web Services part of the plug-in, see Creating an example network plug-in:
The network simulator application will have the following properties:
com.acompany.test
NetworkInterface.wsdl
NetworkTriggeredEventListener.wsdl
NetworkTriggeredEventResultListener.wsdl
NetworkInterface.wsdl,
implemented by the network simulator application NetworkTriggeredEventResultListener.wsdl
, and implemented by the test application:NetworkTriggeredEventListener.wsdl
, and implemented by the Web Services part of the plug-in:
NetworkInterface.wsdl
, NetworkTriggeredEventListener.wsdl
, and NetworkTriggeredEventResultListener.wsdl
files. Change the properties networkTriggeredEventListenerWsdl
, networkTriggeredEventResultListenerWsdl
and networkInterfaceWsdl
.
This section describes how to prepare the start script for the network simulator application.
exampleproj\network_simulator_impl\runMe.bat
and edit the HOST
variable to fit the port that Network Gatekeeper listens to. http://%HOST%/wplugin/services/NetworkTriggeredEventListener
To reflect any changes done when deploying the Web Services part of the plug-in.
The namespace must be according to where the Web Services part of the plug-in was deployed, see Installing the Web Service plug-in.
http://<Tomcat URL>:8080/wplugin/services/NetworkTriggeredEventListener
Use menu option 5 -Deliver network triggered event
to send a network triggered event to the Web Services part of the plug-in. Provide the payload data, originating address, destination address, and a network transaction ID. Make sure that the test application has enabled network triggered events for the destination address.
The data provided, together with an originating address, a destination address and a network transaction ID is propagated through the modules and delivered to the application. If there is an error the network simulator application will printout an error message.
When an application performs an application triggered request, data about the request is printed in the console of the network simulator.
See Creating an example application for information on how to build and use the example application.