PortAddress portAddress = portAddresses.iterator().next(); try { wsdlUrl = new URL(portAddress.getAddress() + "?wsdl"); } catch (MalformedURLException e) { port.setQName(portAddress.getPortQName()); port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface()); port.getAddresses().add(portAddress.getAddress()); ports.add(port); } else { port.getAddresses().add(portAddress.getAddress()); if (port.getServiceEndpointInterface() == null) { port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface());
final PortAddress portAddress = portAddresses.iterator().next(); try { wsdlUrl = new URL(portAddress.getAddress() + "?wsdl"); } catch (final MalformedURLException e) { port.setQName(portAddress.getPortQName()); port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface()); port.getAddresses().add(portAddress.getAddress()); ports.add(port); } else { port.getAddresses().add(portAddress.getAddress()); if (port.getServiceEndpointInterface() == null) { port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface());
final PortAddress portAddress = portAddresses.iterator().next(); try { wsdlUrl = new URL(portAddress.getAddress() + "?wsdl"); } catch (final MalformedURLException e) { port.setQName(portAddress.getPortQName()); port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface()); port.getAddresses().add(portAddress.getAddress()); ports.add(port); } else { port.getAddresses().add(portAddress.getAddress()); if (port.getServiceEndpointInterface() == null) { port.setServiceEndpointInterface(portAddress.getServiceEndpointInterface());
serviceMetaData.setWsdlUrl(portAddress.getAddress() + "?wsdl"); portRefMetaData.setQName(portAddress.getPortQName()); portRefMetaData.setServiceEndpointInterface(portAddress.getServiceEndpointInterface()); portRefMetaData.getAddresses().add(portAddress.getAddress()); serviceMetaData.getPortRefs().add(portRefMetaData); } else { portRefMetaData.getAddresses().add(portAddress.getAddress()); if (portRefMetaData.getServiceEndpointInterface() == null) { portRefMetaData.setServiceEndpointInterface(portAddress.getServiceEndpointInterface());