error("MyRolePartnerRoleNull", theInterfaces);
} // end if
if (callPT != null) {
// Set the call interface and, if present, the callback interface
WSDLInterface callInterface = null;
for (WSDLInterface anInterface : theInterfaces) {
if (anInterface.getPortType().getQName().equals(callPT.getQName()))
callInterface = anInterface;
} // end for
if (callInterface == null) {
error("NoInterfaceForPortType", theInterfaces, callPT.getQName().toString());
} else
service.getInterfaceContract().setInterface(callInterface);
} // end if
// There is a callback if the partner role is not null and if the
// partner role port type
// is not the same as the port type for my role
if (callbackPT != null) {
WSDLInterface callbackInterface = null;
for (WSDLInterface anInterface : theInterfaces) {
if (anInterface.getPortType().getQName().equals(callbackPT.getQName()))
callbackInterface = anInterface;
} // end for
if (callbackInterface == null) {