}
PortType wsdlPortType = wsdlBinding.getPortType();
for (Iterator iter = wsdlPortType.getOperations().iterator(); iter.hasNext();) {
Operation wsdlOperation = (Operation) iter.next();
BindingOperation wsdlBindingOperation = wsdlBinding.getBindingOperation(wsdlOperation.getName(), null, null);
SOAPOperation wsdlSoapOperation = WSDLUtils.getExtension(wsdlBindingOperation, SOAPOperation.class);
Wsdl1SoapOperationImpl operation = new Wsdl1SoapOperationImpl();
operation.setName(new QName(wsdlPortType.getQName().getNamespaceURI(), wsdlOperation.getName()));
if (wsdlSoapOperation != null) {
operation.setSoapAction(wsdlSoapOperation.getSoapActionURI());
operation.setStyle(getStyle(wsdlSoapOperation.getStyle()));
} else {
operation.setSoapAction("");
}
if (operation.getStyle() == null) {
operation.setStyle(binding.getStyle() != null ? binding.getStyle() : Style.DOCUMENT);