public OperationMetaData getOperationMetaData(QName opName)
{
if (opName == null)
throw new IllegalArgumentException("Cannot get OperationMetaData for null");
EndpointMetaData epMetaData = getEndpointMetaData();
OperationMetaData opMetaData = epMetaData.getOperation(opName);
if (opMetaData == null && epMetaData.getServiceMetaData().getWsdlDefinitions() == null)
{
opMetaData = new OperationMetaData(epMetaData, opName, opName.getLocalPart());
epMetaData.addOperation(opMetaData);
}
if (opMetaData == null)
throw new WSException("Cannot obtain operation meta data for: " + opName);