String callbackPortTypeHint = null;
for (Object ee : definition.getExtensibilityElements()) {
if (!(ee instanceof PLType)) {
continue;
}
final PLType pl = (PLType) ee;
if (pl != null) {
final List<PLRole> roles = pl.getRoles();
if (roles != null) {
for (PLRole role : roles) {
final String name = role.getName();
if ("service".equals(name)) {
portTypeHint = role.getPortType().getName();