@Deprecated public static Map<String,Object> filterServiceContext(DispatchContext dctx,String serviceName,Map<String,? extends Object> context) throws GenericServiceException {
  return dctx.makeValidContext(serviceName,"IN",context);
}

@ Deprecated public static Map < String , Object > filterServiceContext ( DispatchContext dctx , String serviceName , Map < String , ? extends Object > context ) throws GenericServiceException { return dctx . makeValidContext ( serviceName , "IN" , context ) ; }
get rid of unnecessary parameters based on the given service name
