The cluster configuration replication web service endpoint allows a client of this web service to create, update, or delete a connection, and then push the new configuration to the other cluster nodes.

The service endpoint is /pf-mgmt-ws/ws/ConfigReplication.

The WSDL document describing this service can be retrieved from /pf-mgmt-ws/ws/ConfigReplication?wsdl .

The web service exposes the following method: public void replicateConfiguration();.

Code sample

Below is example client code using the Apache AXIS libraries that invokes the configuration replication functionality.

Call call2 = (Call) service.createCall();
    call2.setUsername("joe");
    call2.setPassword("test");
    String addr2 = "https://localhost:9999/pf-mgmt-ws/ws/ConfigReplication";
    call2.setTargetEndpointAddress(addr2);
    call2.setOperationName("replicateConfiguration");
    call2.invoke(new Object[]{});