Source:
<code>public PRPAIN201306UV02 formatGatewayResponsePRPAIN201305UV02(PRPAIN201305UV02 body, AssertionType assertion, String sServiceName) throws PatientDiscoveryException { String url; PRPAIN201306UV02 response = new PRPAIN201306UV02(); try { if (body != null) { LOG.debug("Before target system URL look up."); url = oProxyHelper.getAdapterEndPointFromConnectionManager(sServiceName); <START> LOG.debug("After target system URL look up. URL for service{} ", sServiceName, "and url= ", url); <END> if (NullChecker.isNotNullish(url)) { RespondingGatewayPRPAIN201305UV02RequestType request = new RespondingGatewayPRPAIN201305UV02RequestType(); request.setAssertion(assertion); request.setPRPAIN201305UV02(body); request.setNhinTargetCommunities(null); ServicePortDescriptor<AdapterPatientDiscoverySecuredPortType> portDescriptor = new AdapterPatientDiscoverySecuredServicePortDescriptor(); CONNECTClient<AdapterPatientDiscoverySecuredPortType> client = CONNECTClientFactory.getInstance() .getCONNECTClientSecured(portDescriptor, url, assertion); response = (PRPAIN201306UV02) client.invokePort(AdapterPatientDiscoverySecuredPortType.class, "respondingGatewayPRPAIN201305UV02", request); } else { throw new PatientDiscoveryException( "Failed to call the adapter web service (" + sServiceName + "). The URL is null."); } } else { throw new PatientDiscoveryException( "Failed to call the web service (" + sServiceName + "). The input parameter is null."); } } catch (Exception e) { LOG.error("Failed to call the web service (" + sServiceName + "). An unexpected exception occurred. " + "Exception: " + e.getMessage(), e); throw new PatientDiscoveryException(e.fillInStackTrace()); } return response; }</code><technical_language>recommend LOG.debug("After target system URL up. URL for service: url: ", sServiceName, url);</technical_language>

Target:
public PRPAIN201306UV02 formatGatewayResponsePRPAIN201305UV02(PRPAIN201305UV02 body, AssertionType assertion, String sServiceName) throws PatientDiscoveryException { String url; PRPAIN201306UV02 response = new PRPAIN201306UV02(); try { if (body != null) { LOG.debug("Before target system URL look up."); url = oProxyHelper.getAdapterEndPointFromConnectionManager(sServiceName); LOG.debug("After target system URL look up. URL for service: and url : ", sServiceName, url); if (NullChecker.isNotNullish(url)) { RespondingGatewayPRPAIN201305UV02RequestType request = new RespondingGatewayPRPAIN201305UV02RequestType(); request.setAssertion(assertion); request.setPRPAIN201305UV02(body); request.setNhinTargetCommunities(null); ServicePortDescriptor<AdapterPatientDiscoverySecuredPortType> portDescriptor = new AdapterPatientDiscoverySecuredServicePortDescriptor(); CONNECTClient<AdapterPatientDiscoverySecuredPortType> client = CONNECTClientFactory.getInstance() .getCONNECTClientSecured(portDescriptor, url, assertion); response = (PRPAIN201306UV02) client.invokePort(AdapterPatientDiscoverySecuredPortType.class, "respondingGatewayPRPAIN201305UV02", request); } else { throw new PatientDiscoveryException( "Failed to call the adapter web service (" + sServiceName + "). The URL is null."); } } else { throw new PatientDiscoveryException( "Failed to call the web service (" + sServiceName + "). The input parameter is null."); } } catch (Exception e) { LOG.error("Failed to call the web service : {}. An unexpected exception occurred. Exception: " , sServiceName, e.getMessage(), e); throw new PatientDiscoveryException(e.fillInStackTrace()); } return response; }