private TerminationCoordinatorPortType getPort(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier, final String action) { // we only need the message id from the addressing properties as the address is already wrapped up // in the ednpoint reference. also the identifier should already be installed in the endpoint // reference as a reference parameter so we don't need that either AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationCoordinatorPort(endpoint, action, map); } }
private TerminationCoordinatorRPCPortType getPort(final W3CEndpointReference endpoint, final MAP map, final String action) { return WSARJTXClient.getTerminationCoordinatorRPCPort(endpoint, action, map); } }
private TerminationParticipantPortType getPort(final MAP map, final InstanceIdentifier identifier, final String action) { // create a port specific to the incoming addressing properties AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationParticipantPort(identifier, action, map); } }
public static TerminationParticipantPortType getTerminationParticipantPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationParticipantService service = getTerminationParticipantService(); TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } // we use this in situations where we don't have a proper endpoint but we do have caller addressing properties
public static TerminationCoordinatorPortType getTerminationCoordinatorPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorService service = getTerminationCoordinatorService(); TerminationCoordinatorPortType port = service.getPort(endpointReference, TerminationCoordinatorPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; }
public static TerminationCoordinatorRPCPortType getTerminationCoordinatorRPCPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorRPCService service = getTerminationCoordinatorRPCService(); TerminationCoordinatorRPCPortType port = service.getPort(endpointReference, TerminationCoordinatorRPCPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } }
public static TerminationParticipantPortType getTerminationParticipantPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationParticipantService service = getTerminationParticipantService(); TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } // we use this in situations where we don't have a proper endpoint but we do have caller addressing properties
public static TerminationCoordinatorPortType getTerminationCoordinatorPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorService service = getTerminationCoordinatorService(); TerminationCoordinatorPortType port = service.getPort(endpointReference, TerminationCoordinatorPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; }
public static TerminationCoordinatorRPCPortType getTerminationCoordinatorRPCPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorRPCService service = getTerminationCoordinatorRPCService(); TerminationCoordinatorRPCPortType port = service.getPort(endpointReference, TerminationCoordinatorRPCPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } }
public static TerminationParticipantPortType getTerminationParticipantPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationParticipantService service = getTerminationParticipantService(); TerminationParticipantPortType port = service.getPort(endpointReference, TerminationParticipantPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } // we use this in situations where we don't have a proper endpoint but we do have caller addressing properties
private TerminationCoordinatorPortType getPort(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier, final String action) { // we only need the message id from the addressing properties as the address is already wrapped up // in the ednpoint reference. also the identifier should already be installed in the endpoint // reference as a reference parameter so we don't need that either AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationCoordinatorPort(endpoint, action, map); } }
private TerminationCoordinatorRPCPortType getPort(final W3CEndpointReference endpoint, final MAP map, final String action) { return WSARJTXClient.getTerminationCoordinatorRPCPort(endpoint, action, map); } }
private TerminationParticipantPortType getPort(final MAP map, final InstanceIdentifier identifier, final String action) { // create a port specific to the incoming addressing properties AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationParticipantPort(identifier, action, map); } }
public static TerminationCoordinatorPortType getTerminationCoordinatorPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorService service = getTerminationCoordinatorService(); TerminationCoordinatorPortType port = service.getPort(endpointReference, TerminationCoordinatorPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; }
public static TerminationCoordinatorRPCPortType getTerminationCoordinatorRPCPort(W3CEndpointReference endpointReference, String action, MAP map) { TerminationCoordinatorRPCService service = getTerminationCoordinatorRPCService(); TerminationCoordinatorRPCPortType port = service.getPort(endpointReference, TerminationCoordinatorRPCPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); MAP requestMap = AddressingHelper.outboundMap(requestContext); map.setAction(action); AddressingHelper.installCallerProperties(map, requestMap); AddressingHelper.configureRequestContext(requestContext, requestMap.getTo(), action); return port; } }
public static TerminationParticipantPortType getTerminationParticipantPort(InstanceIdentifier identifier, String action, MAP map) { TerminationParticipantService service = getTerminationParticipantService(); TerminationParticipantPortType port = service.getPort(TerminationParticipantPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); Element refParam = InstanceIdentifier.createInstanceIdentifierElement(identifier.getInstanceIdentifier()); map.addReferenceParameter(refParam); map.setAction(action); AddressingHelper.configureRequestContext(requestContext, map, map.getTo(), action); return port; } public static TerminationCoordinatorRPCPortType getTerminationCoordinatorRPCPort(W3CEndpointReference endpointReference,
private TerminationCoordinatorPortType getPort(final W3CEndpointReference endpoint, final MAP map, final InstanceIdentifier identifier, final String action) { // we only need the message id from the addressing properties as the address is already wrapped up // in the ednpoint reference. also the identifier should already be installed in the endpoint // reference as a reference parameter so we don't need that either AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationCoordinatorPort(endpoint, action, map); } }
private TerminationCoordinatorRPCPortType getPort(final W3CEndpointReference endpoint, final MAP map, final String action) { return WSARJTXClient.getTerminationCoordinatorRPCPort(endpoint, action, map); } }
private TerminationParticipantPortType getPort(final MAP map, final InstanceIdentifier identifier, final String action) { // create a port specific to the incoming addressing properties AddressingHelper.installNoneReplyTo(map); return WSARJTXClient.getTerminationParticipantPort(identifier, action, map); } }
public static TerminationParticipantPortType getTerminationParticipantPort(InstanceIdentifier identifier, String action, MAP map) { TerminationParticipantService service = getTerminationParticipantService(); TerminationParticipantPortType port = service.getPort(TerminationParticipantPortType.class, new AddressingFeature(true, true)); BindingProvider bindingProvider = (BindingProvider)port; /* * we no longer have to add the JaxWS WSAddressingClientHandler because we can specify the WSAddressing feature List<Handler> customHandlerChain = new ArrayList<Handler>(); customHandlerChain.add(new WSAddressingClientHandler()); bindingProvider.getBinding().setHandlerChain(customHandlerChain); */ Map<String, Object> requestContext = bindingProvider.getRequestContext(); Element refParam = InstanceIdentifier.createInstanceIdentifierElement(identifier.getInstanceIdentifier()); map.addReferenceParameter(refParam); map.setAction(action); AddressingHelper.configureRequestContext(requestContext, map, map.getTo(), action); return port; } public static TerminationCoordinatorRPCPortType getTerminationCoordinatorRPCPort(W3CEndpointReference endpointReference,