for (PortComponentRef portComponentRef : serviceRef.getPortComponentRef()) {
ports.put(portComponentRef.getServiceEndpointInterface(), portComponentRef);
}
for (PortInfo portInfo : ref.getPortInfo()) {
PortComponentRef portComponentRef = ports.get(portInfo.getServiceEndpointInterface());
if (portComponentRef != null) {
WsdlPort wsdlPort = portInfo.getWsdlPort();
if (wsdlPort != null) {
QName qname = new QName(wsdlPort.getNamespaceURI(), wsdlPort.getLocalpart());
portComponentRef.setQName(qname);
}
for (StubProperty stubProperty : portInfo.getStubProperty()) {
String name = stubProperty.getName();
String value = stubProperty.getValue();
portComponentRef.getProperties().setProperty(name, value);
}
}
}
String wsdlOverride = ref.getWsdlOverride();