/* 158 */ for (WSDLInterfaceOperation wsdlOperation : wsdlInterface.getOperations())
/* */ {
/* 160 */ QName opQName = wsdlOperation.getName();
/* 161 */ String opName = opQName.getLocalPart();
/* */
/* 163 */ WSDLBindingOperation wsdlBindingOperation = wsdlOperation.getBindingOperation();
/* 164 */ if (wsdlBindingOperation == null) {
/* 165 */ this.log.warn("Could not locate binding operation for:" + opQName);
/* */ }
/* */
/* 169 */ String namespaceURI = wsdlBindingOperation.getNamespaceURI();
/* 170 */ if (namespaceURI != null) {
/* 171 */ opQName = new QName(namespaceURI, opName);
/* */ }
/* */
/* 174 */ String javaName = opName.substring(0, 1).toLowerCase() + opName.substring(1);
/* 175 */ ServiceEndpointMethodMapping seiMethodMapping = null;
/* 176 */ if (seiMapping != null)
/* */ {
/* 178 */ epMetaData.setServiceEndpointInterfaceName(seiMapping.getServiceEndpointInterface());
/* */
/* 180 */ seiMethodMapping = seiMapping.getServiceEndpointMethodMappingByWsdlOperation(opName);
/* 181 */ if (seiMethodMapping == null) {
/* 182 */ throw new WSException("Cannot obtain method mapping for: " + opName);
/* */ }
/* 184 */ javaName = seiMethodMapping.getJavaMethodName();
/* */ }
/* */
/* 187 */ OperationMetaData opMetaData = new OperationMetaData(epMetaData, opQName, javaName);
/* 188 */ epMetaData.addOperation(opMetaData);
/* */
/* 191 */ String style = wsdlOperation.getStyle();
/* 192 */ epMetaData.setStyle("http://www.w3.org/2004/03/wsdl/style/iri".equals(style) ? Style.DOCUMENT : Style.RPC);
/* */
/* 195 */ if ("http://www.w3.org/2004/08/wsdl/in-only".equals(wsdlOperation.getPattern())) {
/* 196 */ opMetaData.setOneWay(true);
/* */ }
/* */
/* 199 */ if (wsdlBindingOperation != null) {
/* 200 */ opMetaData.setSOAPAction(wsdlBindingOperation.getSOAPAction());
/* */ }
/* */
/* 203 */ String encStyle = epMetaData.getEncodingStyle().toURI();
/* 204 */ TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
/* 205 */ TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);