matchAudit.append("Match because there is no interface contract on the reference "); matchAudit.appendSeperator(); return true; (endpointContract.getNormalizedWSDLContract() != null && endpointContract.getNormalizedWSDLContract().getInterface().getOperations().size() == 0)){ matchAudit.append("Match because the endpoint is remote and we don't have a copy of it's interface contract "); matchAudit.appendSeperator(); return true; matchAudit.append("Match failed because the interface contract mapper failed "); } else { matchAudit.append("Match because the interface contract mapper succeeded ");
if (source == null || target == null) { if (audit != null){ audit.append("One of either the source or target data types is null for");
audit.append("Callback interface doesn't match as one of the callback interfaces is null"); audit.appendSeperator(); throw new IncompatibleInterfaceContractException("Callback interface doesn't match as one of the callback interfaces is null", source, target);
if (source == null || target == null) { if (audit != null){ audit.append("One of either the source or target data types is null for");
audit.append("Callback interface doesn't match as one of the callback interfaces is null"); audit.appendSeperator(); throw new IncompatibleInterfaceContractException("Callback interface doesn't match as one of the callback interfaces is null", source, target);
(noEndpointReferencePolicies) && (noEndpointPolicies)) { matchAudit.append("Match because there are no intents or policies "); matchAudit.appendSeperator(); return true; matchAudit.append("Match because the intents are resolved and there are no policy sets "); matchAudit.appendSeperator(); return true; matchAudit.append("No match because there are policy sets at the endpoint reference but not at the endpoint "); matchAudit.appendSeperator(); return false; matchAudit.append("No match because there are policy sets at the endpoint but not at the endpoint reference "); matchAudit.appendSeperator(); return false; Set<PolicySet> servicePolicySet = new HashSet<PolicySet>(endpoint.getPolicySets()); if(referencePolicySet.equals(servicePolicySet)){ matchAudit.append("Match because the policy sets on both sides are eactly the same "); matchAudit.appendSeperator(); return true; matchAudit.append("No match because the language specific matching failed "); matchAudit.appendSeperator(); endpointReference.getPolicySets().clear(); endpointReference.getPolicySets().addAll(originalPolicySets); } else {
audit.append("different number of output types"); audit.appendSeperator(); if (!isCompatible(targetOutputType.get(i), sourceOutputType.get(i), passByValue, audit)) { if (audit != null){ audit.append(" output types"); audit.appendSeperator(); audit.append("different number of input types"); audit.appendSeperator(); if (!isCompatible(sourceInputType.get(i), targetInputType.get(i), passByValue, audit)) { if (audit != null){ audit.append(" input types"); audit.appendSeperator(); audit.append("Fault types incompatible"); audit.appendSeperator();
audit.append("different number of output types"); audit.appendSeperator(); if (!isCompatible(targetOutputType.get(i), sourceOutputType.get(i), passByValue, audit)) { if (audit != null){ audit.append(" output types"); audit.appendSeperator(); audit.append("different number of input types"); audit.appendSeperator(); if (!isCompatible(sourceInputType.get(i), targetInputType.get(i), passByValue, audit)) { if (audit != null){ audit.append(" input types"); audit.appendSeperator(); audit.append("Fault types incompatible"); audit.appendSeperator();