throw new WSException("Cannot obtain method mapping for: " + opName);
javaName = seiMethodMapping.getJavaMethodName();
}
OperationMetaData opMetaData = new OperationMetaData(epMetaData, opQName, javaName);
epMetaData.addOperation(opMetaData);
// Set the operation style
String style = wsdlOperation.getStyle();
epMetaData.setStyle((Constants.URI_STYLE_DOCUMENT.equals(style) ? Style.DOCUMENT : Style.RPC));
// Set the operation MEP
if (Constants.WSDL20_PATTERN_IN_ONLY.equals(wsdlOperation.getPattern()))
opMetaData.setOneWay(true);
// Set the operation SOAPAction
if (wsdlBindingOperation != null)
opMetaData.setSOAPAction(wsdlBindingOperation.getSOAPAction());
// Get the type mapping for the encoding style
String encStyle = epMetaData.getEncodingStyle().toURI();
TypeMappingRegistry tmRegistry = new TypeMappingRegistryImpl();
TypeMappingImpl typeMapping = (TypeMappingImpl)tmRegistry.getTypeMapping(encStyle);
// Build the parameter meta data
if (opMetaData.getStyle() == Style.RPC)
{
buildParameterMetaDataRpc(opMetaData, wsdlOperation, seiMethodMapping, typeMapping);
}
else
{