private ServiceBindingType getFirstServiceBinding() {
    ServiceBindingType binding = RIM_FACTORY.createServiceBindingType();
    binding.setId("urn:registry:federation:method:csw");
    binding.setService("urn:uuid:service:2014ca7f59ac46f495e32b4a67a51276");

    binding.getSlot().add(stHelper.create("cswUrl", "https://some/address/here", "xs:anyURI"));
    binding.getSlot().add(stHelper.create("bindingType", "Csw_Federated_Source", "xs:string"));
    binding.getSlot().add(stHelper.create("serviceType", "REST", "xs:string"));
    binding
        .getSlot()
        .add(
            stHelper.create(
                "endpointDocumentation", "https://some/path/to/docs.html", "xs:anyURI"));

    binding.setName(istHelper.create("CSW Federation Method"));
    binding.setDescription(istHelper.create("This is the CSW federation method."));
    binding.setVersionInfo(getVersionInfo("2.0.2"));

    binding.getSpecificationLink().add(getFirstSpecificationLink());

    return binding;
  }
  private ServiceBindingType getSecondServiceBinding() {
    ServiceBindingType binding = RIM_FACTORY.createServiceBindingType();
    binding.setId("urn:registry:federation:method:soap13");
    binding.setService("urn:uuid:service:2014ca7f59ac46f495e32b4a67a51276");
    binding.setAccessURI("some:access:URI:any:URI");
    binding.setTargetBinding("some:target:binding:reference:URI");

    binding
        .getSlot()
        .add(stHelper.create("queryAddress", "https://some/address/here", "xs:anyURI"));
    binding
        .getSlot()
        .add(stHelper.create("ingestAddress", "https://some/address/here", "xs:anyURI"));
    binding
        .getSlot()
        .add(stHelper.create("eventAddress", "https://some/address/here", "xs:anyURI"));
    binding.getSlot().add(stHelper.create("bindingType", "soap13", "xs:string"));
    binding.getSlot().add(stHelper.create("serviceType", "SOAP", "xs:string"));
    binding
        .getSlot()
        .add(
            stHelper.create(
                "endpointDocumentation", "https://some/path/to/docs.html", "xs:anyURI"));
    binding.setName(istHelper.create("Soap Federation Method"));
    binding.setDescription(istHelper.create("This is the Soap federation method."));
    binding.setVersionInfo(getVersionInfo("1.3"));

    binding.getSpecificationLink().add(getSecondSpecificationLink());

    return binding;
  }