Search in sources :

Example 1 with MovementService

use of xeu.bridge_connector.wsdl.v1.MovementService in project UVMS-Docker by UnionVMS.

the class FluxMessageReceiverBeanIT method createBridgeConnector.

/**
 * Creates the bridge connector.
 *
 * @return the bridge connector port type
 */
private BridgeConnectorPortType createBridgeConnector() {
    BridgeConnectorPortType bridgeConnectorPortType = new MovementService().getBridgeConnectorPortType();
    BindingProvider bp = (BindingProvider) bridgeConnectorPortType;
    bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:28080/flux-service/MovementService/FluxMessageReceiverBean");
    return bridgeConnectorPortType;
}
Also used : BridgeConnectorPortType(xeu.bridge_connector.wsdl.v1.BridgeConnectorPortType) BindingProvider(javax.xml.ws.BindingProvider) MovementService(xeu.bridge_connector.wsdl.v1.MovementService)

Aggregations

BindingProvider (javax.xml.ws.BindingProvider)1 BridgeConnectorPortType (xeu.bridge_connector.wsdl.v1.BridgeConnectorPortType)1 MovementService (xeu.bridge_connector.wsdl.v1.MovementService)1